/// <summary>The main method.</summary> public static void Main(string[] args) { ServerMain p = new ServerMain(); p.Invoke(); Console.WriteLine("\nPress RETURN to continue..."); Console.ReadLine(); }
public BinaryWriter bw; // For writing. public Client(ServerMain main, TcpClient client) { this.main = main; this.client = client; Thread thread = new Thread(SetupConnection); thread.Start(); }