public ClientManager(Serveur serveur, TcpClient client, int id ) { this.serveur = serveur; this.client = client; this.id = id; reader = new StreamReader(client.GetStream()); Thread thread = new Thread(new ThreadStart(ChatListener)); thread.Start(); }
public ClientManager(Serveur serveur, TcpClient client, int id) { this.serveur = serveur; this.client = client; this.id = id; reader = new StreamReader(client.GetStream()); Thread thread = new Thread(new ThreadStart(ChatListener)); thread.Start(); }
static void Main(string[] args) { Serveur serveur = new Serveur(); }