Esempio n. 1
0
 public Interfaces.ISocketWrapper Create(Socket socket)
 {
     BufferSize = 8000;
     Socket = new WinSocket(socket);
     Buffer = new byte[BufferSize];
     return this;
 }
Esempio n. 2
0
 public GameState(WinSocket socket)
 {
     Attackable = false;
     Action = 0;
     _socket = socket;
     Cryptography = new GameCryptography(System.Text.ASCIIEncoding.ASCII.GetBytes(ServerBase.Constants.GameCryptographyKey));
     DHKeyExchance = new Kijo.Network.GamePackets.DHKeyExchange.ServerKeyExchange();
 }
Esempio n. 3
0
 public AuthState(WinSocket socket)
 {
     _socket = socket;
     Alive = true;
 }