3.LAN P2P communication

Function for LAN communication between servers has been deprecated on version1.7.

For more details, please refer to migration from ProudNet 1.6 to 1.7.

In P2P communication between Proud.CLanClient hosts, TCP protocol is used. When starting P2P messaging at the moment communication between hosts successfully getting achieved by Proud.CLanServer.CreateP2PGroup or else, all sending messages get stored in local queue of each host until TCP connection is properly made. The stored messages start being transmitted immediately after TCP connection is achieved.

Proud.ILanClientEvent.OnP2PConnectionEstablished,Proud.ILanServerEvent.OnP2PConnectionEstablished gets callback when TCP connection is made. On the contrary, Proud.ILanClientEvent.OnP2PDisconnected,Proud.ILanServerEvent.OnP2PDisconnected gets callback when TCP connection is dropped. Proud.ILanClientEvent.OnGroupP2PConnectionComplete,Proud.ILanServerEvent.OnGroupP2PConnectionComplete gets callback when the entire members of P2P group successfully make P2P connection.