diff options
Diffstat (limited to 'ot_socket.h')
| -rw-r--r-- | ot_socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ot_socket.h b/ot_socket.h index 21d04b1..aa4e2d2 100644 --- a/ot_socket.h +++ b/ot_socket.h | |||
| @@ -27,6 +27,7 @@ int socket_udp_bind(const ot_ip6 ip, uint16_t port, socket_sharing sharing); | |||
| 27 | int socket_tcp_connect(const ot_ip6 srcip, uint16_t srcport, const ot_ip6 dstip, uint16_t dstport); | 27 | int socket_tcp_connect(const ot_ip6 srcip, uint16_t srcport, const ot_ip6 dstip, uint16_t dstport); |
| 28 | int socket_is_connected(int s); | 28 | int socket_is_connected(int s); |
| 29 | int socket_accept(int s, ot_ip6 ip, uint16_t *port); | 29 | int socket_accept(int s, ot_ip6 ip, uint16_t *port); |
| 30 | int socket_set_blocking(int s, int blocking); | ||
| 30 | 31 | ||
| 31 | ssize_t socket_recv(int s, void *buf, size_t len, ot_ip6 ip, uint16_t *port); | 32 | ssize_t socket_recv(int s, void *buf, size_t len, ot_ip6 ip, uint16_t *port); |
| 32 | ssize_t socket_send(int s, const void *buf, size_t len, const ot_ip6 ip, uint16_t port); | 33 | ssize_t socket_send(int s, const void *buf, size_t len, const ot_ip6 ip, uint16_t port); |
