Open aardvarkk opened 8 years ago
1. because in lan, loopback addr is same to your local ethernet addr. thay is 127.0.0.1 is same to 192.168.1.107 both of them are your local address. 2. No, senddata to 127.0.0.1 is only called by you, other people in lan would send data to 192.168.1.107.
go over book of unix network programming
After setting up a server running RakNet, I run the following code:
The output is the following (I set up one port for IPv4 and one port for IPv6):
What I find incredibly strange is that RakNet has bound to the loopback address. However, the server seems to work and does accept connections. My two questions are: