Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Examples for Winsock?

What do you guys recommend for a resource for winsock?

I have an assignment that we have only have a few days to do that needs to send a simple packet using UDP (and receive the same type of packet).

I am fairly familiar with C# sockets but nothing with C++.

Any tips or resources?

like image 353
bobber205 Avatar asked Mar 08 '10 04:03

bobber205


People also ask

What is the use of Winsock?

A Windows sockets (Winsock) is an application programming interface (API) that allows for communication between Windows network software and network services, such as Transmission Control Protocol/Internet Protocol (TCP/IP). Winsock is based on the Berkeley Unix sockets interface.

What is Winsock C++?

Winsock is a programming interface and the supporting program that handles input/output requests for Internet applications in a Windows operating system. It's called Winsock because it's an adaptation for Windows of the Berkeley UNIX sockets interface.

What is a Winsock connection?

Winsock allows Windows programs and applications to connect to the internet through TCP/IP. Here are some of its most important features: Winsock exists as a data link layer, and is also known as winsock. dll in our computers. It's a dynamic library extension link.

What is TCP socket with example?

A TCP/IP socket is used for communications between two computers. The socket includes the Internet protocol (IP) address, as well as the host or port that the computers are using to transmit the data. All applications that take part in the transmission use the socket to send and receive information.


2 Answers

Some are as follows:

  • Winsock Programming
  • Winsock Networking Tutorial (C++)
  • WinSock Tutorial
like image 72
Kyle Rosendo Avatar answered Sep 29 '22 18:09

Kyle Rosendo


Besides the MSDN resource "Getting Started with Winsock" mentioned already I would recommend the "Winsock Programmer's FAQ" on tangentsoft.net.

like image 27
oli_arborum Avatar answered Sep 29 '22 18:09

oli_arborum