cum de trimis o structura prin send()....din winsock2
vreau sa trimit o structura de date folosind winsock2la moment eu trtimit textul ashaa....for (;;) {cout ";gets(buffer);if (!strcmp(buffer, "exit")) {break;}unsigned long messageSize = strlen(buffer);messageSize = htonl(messageSize);if ((nBytes = send(mySocket, (char*)&messageSize, sizeof(messageSize), 0)) == SOCKET_ERROR) {cout