namespace XGame.Framework.Network
{
public enum ESessionCode
{
None = 0,
StartConnect,
Connected,
ConnectFail,
ConnectTimeout,
Disconnect,
DisconnectError,
RecvError,
SessionClose,
#region 消息发送的错误码,通常都是同步返回
///
/// 发送异常,异步
///
SendException = 100,
///
/// 网络断开/未连接
/// 同步
///
SendNoConnect,
///
/// 消息被过滤
/// 同步
///
SendFilted,
///
/// 发送失败
/// 同步
///
SendFailed,
#endregion
}
}