aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket_util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* socket_util: include ws2tcpip.h for getnameinfo()Max Kellermann2009-03-011-0/+4
| | | | Windows doesn't have the standard headers sys/socket.h and netdb.h.
* socket_util: unpack V4MAPPED addressesMax Kellermann2009-02-281-0/+20
| | | | | Unpack IPv4 addresses which are packed inside an IPv6 address, i.e. return "127.0.0.1" rather than "::ffff:127.0.0.1".
* socket_util: added function sockaddr_to_string()Max Kellermann2009-02-281-0/+56
Create the socket_util.c library, the first function is sockaddr_to_string(): it converts a sockaddr struct to a string containing the IP address in a human-readable form.