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,
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 -
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
Post a Comment:
Showing 0 Comments: