C++ Blocking Sockets Networking [Winsock] Tutorial 6: Resolving IPv4 Hostname


Post a Comment:





Showing 0 Comments:
Be the first to comment!

External ressources related to C++ Blocking Sockets Networking [Winsock] Tutorial 6: Resolving IPv4 Hostname

gethostbyname function (winsock.h) - Win32 apps | Microsoft Docs
https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-gethostbyname

Such a request is treated exactly as a string representation of an IPv4 address or an unknown host name were passed. An application can use the inet_addr to convert an IPv4 address string to a binary IPv4 address, then use another function, gethostbyaddr,

Video Tutorial - C++ Winsock Networking Tutorial ...
https://guidedhacking.com/threads/c-winsock-networking-tutorial-introduction.12131/

And again I highly recommend to all new users to have a look at the basic tutorial and read up on basic C++ before watching this video. Important links: HOSTENT (winsock.h) - Win32 apps SOCKADDR_IN (ws2def.h) - Win32 apps C++ Winsock Networking Tutorial -

Blocking sockets: client - MadWizard.org
https://www.madwizard.org/programming/tutorials/netcpp/6

You might not be very interested in blocking sockets if you plan to use an I/O model that uses non-blocking socket. Nonetheless, I strongly recommend you to read the chapters about blocking sockets too since they cover the socket programming basics and ot