Skip to content

Commit

Permalink
win32_export context_close
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Jan 2, 2023
1 parent 9511c0c commit f19f98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libusockets.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ WIN32_EXPORT void us_socket_context_on_end(int ssl, struct us_socket_context_t *
WIN32_EXPORT void *us_socket_context_ext(int ssl, struct us_socket_context_t *context);

/* Closes all open sockets, including listen sockets. Does not invalidate the socket context. */
void us_socket_context_close(int ssl, struct us_socket_context_t *context);
WIN32_EXPORT void us_socket_context_close(int ssl, struct us_socket_context_t *context);

/* Listen for connections. Acts as the main driving cog in a server. Will call set async callbacks. */
WIN32_EXPORT struct us_listen_socket_t *us_socket_context_listen(int ssl, struct us_socket_context_t *context,
Expand Down

0 comments on commit f19f98e

Please sign in to comment.