Top "Winsock" questions

In computing, the Windows Sockets API (WSA), which was later shortened to Winsock, is a technical specification that defines how Windows network software should access network services, especially TCP/IP.

timeval undefined when using windows.h and WIN32_LEAN_AND_MEAN

To avoid conflicts with winsock2.h, I want to wrap my include of windows.h with WIN32_LEAN_AND_MEAN (…

c++ windows winsock timeval
Winsock send() always returns error 10057 in server

I'm trying to automate a server request to the client upon connection but I keep getting the WSAGetLastError of 10057. I've …

c++ visual-studio-2010 sockets winsock winsock2
Gracefully shut down a TCP socket

I'm writing an IRC client in C++ and currently I'm having an issue where, upon exit, I do: Send("QUIT :…

c++ sockets tcp winsock irc
How do I use OpenSSL with WinSock?

I've scoured the web and have not found anything for this... Does anyone have a simple code sample of using …

ssl openssl winsock
Redirect IO of process to Windows socket

I am new to winsock, I tried to write a server socket that accepts new connection, then it calls an …

c++ windows winsock winsock2