Пример #1
0
        public ByteReceiver(Socket socket, IIOCPSocketController IO)
        {
            _io     = IO;
            _socket = socket;
            _size   = new ByteTransmitter(socket, 4, IO);

            _size.OnReceived += new ReceivedEvent(_size_OnReceived);
        }
Пример #2
0
        public ByteReceiver(Socket socket, IIOCPSocketController IO)
        {
            _io = IO;
            _socket = socket;
            _size = new ByteTransmitter(socket, 4, IO);

            _size.OnReceived += new ReceivedEvent(_size_OnReceived);
        }
Пример #3
0
 public ByteTransmitter(Socket socket, int Size, IIOCPSocketController IO)
 {
     _io     = IO;
     _socket = socket;
     _buffer = new byte[Size];
 }
Пример #4
0
 public ByteTransmitter(Socket socket, byte[] buffer, IIOCPSocketController IO)
 {
     _io     = IO;
     _socket = socket;
     _buffer = buffer;
 }
Пример #5
0
 public ByteTransmitter(Socket socket, int Size, IIOCPSocketController IO)
 {
     _io = IO;
     _socket = socket;
     _buffer = new byte[Size];
 }
Пример #6
0
 public ByteTransmitter(Socket socket, byte[] buffer, IIOCPSocketController IO)
 {
     _io = IO;
     _socket = socket;
     _buffer = buffer;
 }