Questions tagged [winsock2]

Windows Sockets 2 (Winsock) enables programmers to create advanced Internet, intranet, and other network-capable applications to transmit application data across the wire, independent of the network protocol being used

964 questions
-4
votes
1 answer

Questions about Winsock 2

WSADATA wsaData; SOCKET ConnectSocket = INVALID_SOCKET; iResult = WSAStartup(MAKEWORD(2,2), &wsaData); WSADATA is info, but what info is it specifically? WSAStartup is a function to initiate WS2_32.dll. What is the difference between initiating…
-4
votes
2 answers

C++ How I can download html page via proxy using winsock2

How to download html page via proxy using winsock2 Thanks
-5
votes
1 answer

C++ How can i build byte arrays?

I am currently learning c ++ and i a beginner. Since not too strict to me: D I programmed a winsocket udp client in c ++. This is now send bytes array (like…
VerHext
  • 23
  • 2
  • 7
-6
votes
1 answer

failed to listen and connect winsock2

I have a problem with my Windows socket code, written in C++ using wxDev. The output of the code below is: Starting... : Compatible... : Created... : Binding Done... : Cannot listen... : Error connecting... :::Cleaned::: I do not know why the…
1 2 3
64
65