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.

How do I retrieve an error string from WSAGetLastError()?

I'm porting some sockets code from Linux to Windows. In Linux, I could use strerror() to convert an errno code …

c winapi sockets winsock
How does WSAStartup function initiates use of the Winsock DLL?

How does WSAStartup function initiates use of the Winsock DLL? According to the documentation The WSAStartup function must be the …

c winapi network-programming winsock wsastartup
MSWinsock.Winsock event handling in VisualBasic

I'm trying to handle Winsock_Connect event (Actually I need it in Excel macro) using the following code: Dim Winsock1 …

events excel winsock vba
Substitute for forking in windows

I've been following Beej Networking guide and in the server section there is portion of code where it has called …

c++ winapi gcc winsock fork
What is a good tutorial/howto on .net / c# socket programming

I'm porting old VB6 code that uses the Winsock control to C#. I haven't done any socket programming and I …

c# sockets network-programming winsock
Winsock UDP packets being dropped?

We have a client/server communication system over UDP setup in windows. The problem we are facing is that when …

c udp winsock network-protocols
winsock and x64 target

I am trying to build a C based application in 64 bit using the x64 target in the configuration manager in …

winsock
Qt (Creator) with WinSocks (ws2_32)

I want to use an older code-fragment in my Qt-project, which is using WinSocks. I created my program with Qt …

c++ qt qt4 winsock
Is there a difference between <winsock.h> and <winsock2.h>?

I'm including as it's required by the MySQL C library. The auto-complete in VS2010 is also showing a - any …

c++ winsock
recv() windows socket takes infinite time - how to timeout?

I use file descriptors to find the readable sockets and go on to read. For some reasons, a socket that …

timeout winsock recv