/// <summary> /// 清理资源 /// </summary> public override void Clear() { Target.AcceptSocket = null; Target.UserToken = null; Target.RemoteEndPoint = null; SocketHelper.Clear(Target); base.Clear(); }
public void Clear() { Tag = null; Target.AcceptSocket = null; Target.UserToken = null; Target.RemoteEndPoint = null; Target.SetBuffer(null, 0, 0); SocketHelper.Clear(Target); }