equal
deleted
inserted
replaced
13 struct sock_stream; |
13 struct sock_stream; |
14 |
14 |
15 /* |
15 /* |
16 * Initialize the socket module's global state. Call this before calling any other sock_* functions. |
16 * Initialize the socket module's global state. Call this before calling any other sock_* functions. |
17 */ |
17 */ |
18 err_t sock_init (void); |
18 err_t sock_init (struct error_info *err); |
19 |
19 |
20 /* |
20 /* |
21 * A simple blocking TCP connect to the given host/service, using getaddrinfo. The connected socket is returned via |
21 * A simple blocking TCP connect to the given host/service, using getaddrinfo. The connected socket is returned via |
22 * *sock_ptr. In case of errors, additional error information is stored in *err |
22 * *sock_ptr. In case of errors, additional error information is stored in *err |
23 * |
23 * |