public void Init() { Connection = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); SrvInfo = new ServerInfo(); CurrClientCommand = new ClientCommand(); CurrServerCommand = new ServerCommand(); }
public void Init() { this.Connection = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); this.SrvInfo = new ServerInfo(); this.CurrClientCommand = new ClientCommand(); this.CurrServerCommand = new ServerCommand(); }