INetEventListener.OnNetworkError Method

LiteNetLib

INetEventListenerOnNetworkError Method

LiteNetLib
Network error (on send or receive)

Namespace:  LiteNetLib
Assembly:  LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax

C#
void OnNetworkError(
	NetEndPoint endPoint,
	int socketErrorCode
)

Parameters

endPoint
Type: LiteNetLibNetEndPoint
From endPoint (can be null)
socketErrorCode
Type: SystemInt32
Socket error code
See Also

Reference