Example #1
0
 public void Response2(byte[] responseBytes, Socket fromSocket, int fromId)
 {
     Console.WriteLine("Recieved a 2: " + fromId + ": " + responseBytes.Length);
     _server.SetServerData(ByteParser.ConvertDataToKeyValuePair(responseBytes));
 }
Example #2
0
 public void Response3(byte[] responseBytes, Socket fromSocket, int fromId)
 {
     Logging.CreateLog("Recieved a 3: " + fromId + ": " + responseBytes.Length);
     _server.SetUserData(fromId, ByteParser.ConvertDataToKeyValuePair(responseBytes));
 }