Manipulation des sockets en C et C++
// Declaration socket WSADATA WSAData; SOCKET sock; SOCKADDR_IN sin; // Initialisation socket WSAStartup(MAKEWORD(2,0), &WSAData); sin.sin_addr.s_addr= inet_addr(“127.0.0.1”); // Adresse IP sin.sin_family= AF_INET; sin.sin_port= htons(4001);ย // Port… Read More »Manipulation des sockets en C et C++