public GolTcpClient(string ServerIP) { this.ServerIP = ServerIP; formatter = new BinaryFormatter(); client = null; NetCodes = NetCodes.getInst(); }
public static NetCodes getInst() { if (instance == null) { instance = new NetCodes(); } return(instance); }