When you create a UDP socket or a TCP server, it is binded to the ip "0.0.0.0". That mean that it will be reachable on all machine IPs.
When you try to send data on a UDP socket, it will be "routed" to the most appropriate interface. Try running "route print" from a MSDOS command line to see routes on a computer.
@semar: Every connected computer have at least two interfaces : network and loopback[127.0.0.1].
When you try to send data on a UDP socket, it will be "routed" to the most appropriate interface. Try running "route print" from a MSDOS command line to see routes on a computer.
@semar: Every connected computer have at least two interfaces : network and loopback[127.0.0.1].