void client_ServerEvent(System.Net.Sockets.SocketError obj) { if (obj == System.Net.Sockets.SocketError.ConnectionReset || obj == System.Net.Sockets.SocketError.OperationAborted ) { this.ConnectStatus = NSocketRebotConnectStatus.NotConnected; } else { Console.WriteLine(obj.ToString()); } }
private void Listener_NetworkErrorEvent(System.Net.IPEndPoint endPoint, System.Net.Sockets.SocketError socketError) { Debug.LogError(socketError.ToString()); }
static void nc_OnConncetEnd(System.Net.Sockets.SocketError obj) { Console.WriteLine("连接结果:" + obj.ToString()); m_WaitObj.Set(); }
protected override void OnError(System.Net.Sockets.SocketError error) { Debug.Log(error.ToString()); }
private void Client_Error(System.Net.Sockets.SocketError error) { this.Log("Error:" + error.ToString()); }
protected override void OnError(System.Net.Sockets.SocketError error) { base.OnError(error); Console.WriteLine(error.ToString()); }