Fix WebSocket connection close handling
This commit is contained in:
		@@ -38,10 +38,10 @@ int sock_close(sock *s);
 | 
			
		||||
 | 
			
		||||
int sock_check(sock *s);
 | 
			
		||||
 | 
			
		||||
int sock_poll(sock *sockets[], sock *readable[], short events, int n_sock, int timeout_ms);
 | 
			
		||||
int sock_poll(sock *sockets[], sock *ready[], sock *error[], int n_sock, int *n_ready, int *n_error, short events, int timeout_ms);
 | 
			
		||||
 | 
			
		||||
int sock_poll_read(sock *sockets[], sock *readable[], int n_sock, int timeout_ms);
 | 
			
		||||
int sock_poll_read(sock *sockets[], sock *readable[], sock *error[], int n_sock, int *n_readable, int *n_error, int timeout_ms);
 | 
			
		||||
 | 
			
		||||
int sock_poll_write(sock *sockets[], sock *writable[], int n_sock, int timeout_ms);
 | 
			
		||||
int sock_poll_write(sock *sockets[], sock *writable[], sock *error[], int n_sock, int *n_writable, int *n_error, int timeout_ms);
 | 
			
		||||
 | 
			
		||||
#endif //SESIMOS_SOCK_H
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user