// Client public Labirint(string host, string port) { mode = 2; phone = new PhoneClient(host, int.Parse(port)); phone.Recv += Recv; phone.Start(); my_user = 2; ot_user = 1; Init(); }
// Server public Labirint(string port) { mode = 2; phone = new PhoneServer(int.Parse(port)); phone.Recv += Recv; phone.Start(); my_user = 1; ot_user = 2; Init(); }