Differences From Artifact [975b336f99]:
- File src/socket.h — part of check-in [0509d7a844] at 2019-01-03 19:13:03 on branch trunk — Update copyright (user: js, size: 5616) [annotate] [blame] [check-ins using]
To Artifact [e3ee93c786]:
- File
src/socket.h
— part of check-in
[ab89c47f42]
at
2019-01-07 22:59:58
on branch trunk
— Partially fix sockets on Nintendo 3DS/Wii
This does not fully fix it yet, but at least the socket tests in the
test suite pass on 3DS now. (user: js, size: 5651) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
128 129 130 131 132 133 134 |
} of_socket_address_t;
#ifdef __cplusplus
extern "C" {
#endif
extern bool of_socket_init(void);
extern int of_socket_errno(void);
| | | 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
} of_socket_address_t;
#ifdef __cplusplus
extern "C" {
#endif
extern bool of_socket_init(void);
extern int of_socket_errno(void);
# if !defined(OF_WII) && !defined(OF_NINTENDO_3DS)
extern int of_getsockname(of_socket_t sock, struct sockaddr *restrict addr,
socklen_t *restrict addrLen);
# endif
/*!
* @brief Parses the specified IP and port into an of_socket_address_t.
*
|
| ︙ | ︙ |