Each request generates a uuid. In the returned data, it is judged by the uuid SOCKET has a long connection in the form of tcp, which requires heartbeat packet maintenance. There are also broken links in the form of UDP. I usually use tags to differentiate. TCP carries a tag when sending. UDP also needs to create multiple receivers, each with different tags. Welcome to join the IoT iOS communication group 499604323
Each request generates a uuid. In the returned data, it is judged by the uuid
SOCKET has a long connection in the form of tcp, which requires heartbeat packet maintenance. There are also broken links in the form of UDP. I usually use tags to differentiate. TCP carries a tag when sending. UDP also needs to create multiple receivers, each with different tags. Welcome to join the IoT iOS communication group 499604323