예제 #1
0
 internal ClientCnxnSocketNIO(ClientCnxn cnxn) : base(cnxn)
 {
     receiveEventArgs             = new SocketAsyncEventArgs();
     receiveEventArgs.SocketError = SocketError.Success;
     receiveEventArgs.SetBuffer(new byte[0], 0, 0);
     receiveEventArgs.Completed += delegate { ReceiveCompleted(); };
 }
예제 #2
0
 internal ClientCnxnSocketNIO(ClientCnxn cnxn) : base(cnxn)
 {
 }
예제 #3
0
 protected ClientCnxnSocket(ClientCnxn cnxn)
 {
     incomingBuffer = lenBuffer;
     clientCnxn     = cnxn;
 }
예제 #4
0
 internal ClientCnxnSocketNIO(ClientCnxn cnxn) : base(cnxn)
 {
     socketAsyncEventArgs = new SocketAsyncEventArgs();
     socketAsyncEventArgs.SetBuffer(new byte[0], 0, 0);
     socketAsyncEventArgs.Completed += delegate { SocketAsyncEventSignal.TrySignal(); };
 }