Determine if server is listening when using udp

前端 未结 3 530
我在风中等你
我在风中等你 2021-01-24 22:49

The setting: I want to write a point-to-point Connection class that, when used, does not differentiate between server and client. The first host wh

3条回答
  •  我在风中等你
    2021-01-24 23:17

    I don't think you can check for a listening server, short of sending a packet and waiting to see if you get a reply.

提交回复
热议问题