mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
trac 4 correct libebsocket_service_fd
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
ab40eaa8db
commit
75006171d7
2 changed files with 10 additions and 6 deletions
|
@ -674,9 +674,11 @@ libwebsocket_service_timeout_check(struct libwebsocket_context *context,
|
|||
* @pollfd: The pollfd entry describing the socket fd and which events
|
||||
* happened.
|
||||
*
|
||||
* This function closes any active connections and then frees the
|
||||
* context. After calling this, any further use of the context is
|
||||
* undefined.
|
||||
* This function takes a pollfd that has POLLIN or POLLOUT activity and
|
||||
* services it according to the state of the associated struct libwebsocket.
|
||||
*
|
||||
* The one call deals with all "service" that might happen on a socket
|
||||
* including listen accepts, http files as well as websocket protocol.
|
||||
*/
|
||||
|
||||
int
|
||||
|
|
|
@ -55,9 +55,11 @@ happened.
|
|||
</dl>
|
||||
<h3>Description</h3>
|
||||
<blockquote>
|
||||
This function closes any active connections and then frees the
|
||||
context. After calling this, any further use of the context is
|
||||
undefined.
|
||||
This function takes a pollfd that has POLLIN or POLLOUT activity and
|
||||
services it according to the state of the associated struct libwebsocket.
|
||||
<p>
|
||||
The one call deals with all "service" that might happen on a socket
|
||||
including listen accepts, http files as well as websocket protocol.
|
||||
</blockquote>
|
||||
<hr>
|
||||
<h2>libwebsocket_context_destroy - Destroy the websocket context</h2>
|
||||
|
|
Loading…
Add table
Reference in a new issue