public Conexao(System.Net.Sockets.TcpClient client, Server server) { this.client = client; this.server = server; this.x = -1; this.y = -1; this.vx = 0; this.vy = 0; Stream s = client.GetStream(); writer = new StreamWriter(s); reader = new StreamReader(s); }
static void Main(string[] args) { Server server = new Server(); server.executar(); }