Differences From Artifact [0a5ee032af]:
- File
src/socket.h
— part of check-in
[bed2db0fd3]
at
2018-08-26 18:39:28
on branch trunk
— Fix compilation for Wii
This pretends that net_getsockopt() exists, which it does not yet. As
soon as it lands in libogc, this will work again. (user: js, size: 5125) [annotate] [blame] [check-ins using]
To Artifact [2431bf7b16]:
- File
src/socket.h
— part of check-in
[8555d64ee6]
at
2018-09-10 20:44:40
on branch trunk
— OFDNSResolver: Method to resolve host to addresses
This provides more convenience when the goal is to connect a socket and
provides functionality similar to getaddrinfo().No support for resolving CNAMEs yet - this will be the next step. (user: js, size: 5249) [annotate] [blame] [check-ins using]
︙ | |||
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | + + + + + | typedef u8 sa_family_t; #endif /*! * @brief A socket address family. */ typedef enum { /** An unknown address family. */ OF_SOCKET_ADDRESS_FAMILY_UNKNOWN, /** IPv4 */ OF_SOCKET_ADDRESS_FAMILY_IPV4, /** IPv6 */ OF_SOCKET_ADDRESS_FAMILY_IPV6, /** Any address family */ OF_SOCKET_ADDRESS_FAMILY_ANY = 255 } of_socket_address_family_t; #ifndef OF_HAVE_IPV6 struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; |
︙ |