Exemplo n.º 1
0
            //异步写入
            public void AsyncWrite(byte[] source, byte length)
            {
                SocketAsyncEventArgs writeEventArg = getAsyncEventArgs();
                AsyncUserToken       au            = (AsyncUserToken)writeEventArg.UserToken;

                au.addBytes(source, length);
                this.asyncWrite(writeEventArg);
            }