errno is the global error variable that gets set by so many of the standard functions. strerror gives you a string based on it's value, perror prints that string to stderr.
You close the socket...
Type: Posts; User: anduril462
errno is the global error variable that gets set by so many of the standard functions. strerror gives you a string based on it's value, perror prints that string to stderr.
You close the socket...
IMO this is one of the best online socket programming guides out there: Beej's Guide to Network Programming.
The Windows socket libraries are based heavily on the BSD sockets (what you call *NIX,...