What steps will reproduce the problem?
1. Connect to server with 2 clients (make connection using connect)
2. Send NatIntroduction from server (using NetPeer.Introduce)
Warning is raised on clients: Received unhandled library message
NatIntroduction.
I've debug your code a little and it seems because NatIntroduction comes from
server and server is known, this "if":
if (sender != null)
sender.ReceivedLibraryMessage(tp, ptr, payloadByteLength);
else
ReceivedUnconnectedLibraryMessage(receiveTime, ipsender, tp, ptr, payloadByteLength);
goes to "sender.ReceivedLibraryMessage(tp, ptr, payloadByteLength);", where
NatIntroduction is not handled
Original issue reported on code.google.com by Pik...@gmail.com on 6 Aug 2012 at 8:08
Original issue reported on code.google.com by
Pik...@gmail.com
on 6 Aug 2012 at 8:08