aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket_util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.