コード例 #1
0
        public new void Dispose()
        {
            if (_bufferOwner != null)
            {
                _bufferOwner.Dispose();
                _bufferOwner = null;
            }

            AcceptSocket          = null;
            RemoteEndPoint        = null;
            DisconnectReuseSocket = false;
            Handler = null;

            IOArgsPool.Return(this);
        }
コード例 #2
0
 public static IOArgs Alloc(int size = -1)
 {
     return(IOArgsPool.Alloc(size));
 }