> peerID should be deducted from packet's sender IP & Port which are in > ENetHost::receivedAddress .
Bear in mind that a senders port can change if they're behind a NAT. Some NATs will move the port that they're using for your UDP datagrams around, they know nothing of the 'connection' that you have between two peers and so it's quite valid for them to send every single datagram out on a different port if they wanted to - they don't, but I've certainly seen peers move from one port to another mid connection. Without a peer ID there's no way for you to keep the connection open if this happens. Len www.serverframework.com _______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
