Top "Winsock2" questions

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

WSA error 10048 when binding server sockets

I started with the simple server tutorial on the msdn website in order to learn how to use sockets in …

c++ multithreading sockets winsock2 windows-socket-api
missing messages when reading with non-blocking udp

I have problem with missing messages when using nonblocking read in udp between two hosts. The sender is on linux …

python sockets udp nonblocking winsock2
Handling asynchronous sockets in WinSock?

I'm using a message window and WSAAsyncSelect. How can I keep track of multiple sockets (the clients) with one message …

c windows sockets winsock2
undefined reference to '_WSAStartup@8'. How to link libraries with NetBeans?

I use NetBeans, Windows and Cygwin with G++ compiler. I'm examining Windows Sockets 2. I do everything that is written in …

c++ dll netbeans linker winsock2
Implicit declaration of function 'getaddrinfo' on MinGW

I have a C program that uses getaddrinfo(). It works as expected on Linux and Mac OS X. I'm in …

c winapi mingw winsock2 getaddrinfo
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
UDP client does not receive data without bind()

I refereed to the UDP client program from binarytides and I was able to send a UDP packet frompy PC …

c sockets udp winsock2 udpclient
undefined reference to imp_getaddrinfo

I have been learning how to program networking in windows via C++, it's going well except I have encountered a …

c++ winapi winsock2
How to implement a recv() callback

I'm trying to improve my knowledge of OOP and decided to create a simple class to simplify sockets programming. This …

c++ sockets winsock2
is winsock2 thread safe?

I am writing a small 3 servers and 1 client program. the 2 servers send tcp messages and the last one sends upd …

c++ multithreading winsock2