zhbzhbzhbz
V2EX  ›  Android

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

  •  1
     
  •   zhbzhbzhbz · Oct 15, 2020 · 12421 views
    This topic created in 2039 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   ·   2851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 10:24 · PVG 18:24 · LAX 03:24 · JFK 06:24
    ♥ Do have faith in what you're doing.