コード例 #1
0
 public NetState()
 {
     _socket      = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
     _recvBuffer  = new BufferPool("Receive Buffer", 16, 4096);
     _messagePump = new MessagePump();
     _buffer      = new ByteQueue();
 }
コード例 #2
0
ファイル: NetState.cs プロジェクト: AugmentedInsanity/OpenUO
 public NetState()
 {
     _socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
     _recvBuffer = new BufferPool("Receive Buffer", 16, 4096);
     _messagePump = new MessagePump();
     _buffer = new ByteQueue();
 }