|
|
|
|
@ -276,11 +276,11 @@ void socket_init(void);
|
|
|
|
|
|
|
|
|
|
bool open_socket(socket_t *r, int type, unsigned int port, const sockaddr_t *);
|
|
|
|
|
bool open_v46_socket(socket_t *r, int type);
|
|
|
|
|
int connect_socket(socket_t *r, int type, const endpoint_t *ep);
|
|
|
|
|
bool connect_socket(socket_t *r, int type, const endpoint_t *ep);
|
|
|
|
|
int connect_socket_nb(socket_t *r, int type, const endpoint_t *ep); // 1 == in progress
|
|
|
|
|
int connect_socket_retry(socket_t *r); // retries connect() while in progress
|
|
|
|
|
int close_socket(socket_t *r);
|
|
|
|
|
int reset_socket(socket_t *r);
|
|
|
|
|
bool reset_socket(socket_t *r);
|
|
|
|
|
void move_socket(socket_t *dst, socket_t *src);
|
|
|
|
|
void dummy_socket(socket_t *r, const sockaddr_t *);
|
|
|
|
|
|
|
|
|
|
|