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 to flush route table in windows?

I am trying to write a program that changes the default gateway of network time by time. But it seems …

windows winsock routes
MinGW linker error: winsock

I am using MinGW compiler on Windows to compile my C++ application with sockets. My command for linking looks like: …

c++ linker mingw winsock
Do I have to bind a UDP socket in my client program to receive data? (I always get WSAEINVAL)

I am creating a UDP socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP) via Winsock and trying to recvfrom on this …

c++ winsock
How to link winsock.lib?

In my C++ class, I use sockets. I have some errors when linking because, in my opinion, the library winsock.…

c++ sockets visual-studio-2005 windows-xp winsock
'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS

I'm using Visual Studio 2015 and attempting to compile code that has worked before I updated from VS 2013. 'inet_addr': Use …

c++ winsock
Examples for Winsock?

What do you guys recommend for a resource for winsock? I have an assignment that we have only have a …

c++ resources winsock
How to set up a Winsock UDP socket?

I want to create a Winsock UDP socket that only sends data to a client. I want the kernel to …

c++ winapi sockets udp winsock
How to support both IPv4 and IPv6 connections

I'm currently working on a UDP socket application and I need to build in support so that IPV4 and IPV6 …

c++ winsock ipv6 sockets ipv4
winsock deprecated no warnings

I am trying to create a UDP multicast socket program using VS2015 (C++ console application). I got the following error, …

visual-c++ winsock
C++ header files for UDP in Windows?

I have a linux applications which sends data over UDP protocol. It uses these header files: #include <stdio.h&…

c++ visual-c++ sockets udp winsock