Exemplo n.º 1
0
 public GolTcpClient(string ServerIP)
 {
     this.ServerIP = ServerIP;
     formatter     = new BinaryFormatter();
     client        = null;
     NetCodes      = NetCodes.getInst();
 }
Exemplo n.º 2
0
 public static NetCodes getInst()
 {
     if (instance == null)
     {
         instance = new NetCodes();
     }
     return(instance);
 }