diff options
Diffstat (limited to 'src/ot_socket.h')
| -rw-r--r-- | src/ot_socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ot_socket.h b/src/ot_socket.h index 5c1d840..33446e4 100644 --- a/src/ot_socket.h +++ b/src/ot_socket.h | |||
| @@ -32,6 +32,8 @@ int socket_can_balance(void); | |||
| 32 | int socket_tcp_listen(const ot_ip6 ip, uint16_t port, socket_sharing sharing); | 32 | int socket_tcp_listen(const ot_ip6 ip, uint16_t port, socket_sharing sharing); |
| 33 | int socket_udp_bind(const ot_ip6 ip, uint16_t port, socket_sharing sharing); | 33 | int socket_udp_bind(const ot_ip6 ip, uint16_t port, socket_sharing sharing); |
| 34 | 34 | ||
| 35 | int socket_udp_is_taken(const ot_ip6 ip, uint16_t port); | ||
| 36 | |||
| 35 | int socket_tcp_connect(const ot_ip6 srcip, uint16_t srcport, const ot_ip6 dstip, uint16_t dstport); | 37 | int socket_tcp_connect(const ot_ip6 srcip, uint16_t srcport, const ot_ip6 dstip, uint16_t dstport); |
| 36 | int socket_is_connected(int s); | 38 | int socket_is_connected(int s); |
| 37 | int socket_accept(int s, ot_ip6 ip, uint16_t *port); | 39 | int socket_accept(int s, ot_ip6 ip, uint16_t *port); |
