Home > other >  Have multiple IP udp the receiving end, what is the purpose of how to determine the sender to specif
Have multiple IP udp the receiving end, what is the purpose of how to determine the sender to specif

Time:10-08

Udp transmission Windows 7, environment, bind multiple IP addresses at the receiving end, want to know after receiving the data sent the destination IP is which, how to decide? Thank you very much!

CodePudding user response:

Recvfrom function

CodePudding user response:

This may need to build a multiple sockets, bind their own local IP separately, and so you can know what each other is sent to the local IP
  • Related