UDP packets not received in emulator from localhost

后端 未结 1 1524
终归单人心
终归单人心 2021-01-28 10:22

My app is unable to receive the UDP packets when running in the emulator. UDP packets are sent by below java program on \"localhost\" over the port 49999.

    Da         


        
1条回答
  •  抹茶落季
    2021-01-28 11:05

    After connecting to the localhost you may want to check that the port was actually asigned as intended with the command netstat -na in the cmd. It also might be worth a try to use the IP 127.0.0.1 instead.

    0 讨论(0)
提交回复
热议问题