zhbzhbzhbz
V2EX  ›  Android

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

  •  1
     
  •   zhbzhbzhbz · Oct 15, 2020 · 12457 views
    This topic created in 2053 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   ·   2644 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 12:23 · PVG 20:23 · LAX 05:23 · JFK 08:23
    ♥ Do have faith in what you're doing.