V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zhbzhbzhbz
V2EX  ›  Android

如何在 app 中一次性获取所有开启的端口? netstat 好像不行了

  •  1
     
  •   zhbzhbzhbz · Oct 15, 2020 · 12356 views
    This topic created in 2020 days ago, the information mentioned may be changed or developed.

    是不是只能用 Socket 去针对特定端口逐个探测了?

    2 replies    2020-10-16 14:49:56 +08:00
    zhbzhbzhbz
        2
    zhbzhbzhbz  
    OP
       Oct 16, 2020
    @no1xsyzy 在 Android10 上用不了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1406 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:10 · PVG 01:10 · LAX 10:10 · JFK 13:10
    ♥ Do have faith in what you're doing.