#include "Serveur.h" Serveur::Serveur(int port, int nbrClient): m_port(port), m_nbrClient(nbrClient) { #ifdef WIN32 m_erreur = WSAStartup(MAKEWORD(2,2), &m_WSAData); #else m_erreur = 0; #endif // WIN32 m_sock.recsize = sizeof(m_sock.sin); m_csock = new Sock[m_nbrClient]; for(int i = 0;i