Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | socket_util: include ws2tcpip.h for getnameinfo() | Max Kellermann | 2009-03-01 | 1 | -0/+4 |
| | | | | Windows doesn't have the standard headers sys/socket.h and netdb.h. | ||||
* | socket_util: unpack V4MAPPED addresses | Max Kellermann | 2009-02-28 | 1 | -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 Kellermann | 2009-02-28 | 1 | -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. |