Reported-by Marjan Tomas
Signed-off-by: Andy Green <andy.green@linaro.org>
return wsi->sock_send_blocking;
}
-static int lws_poll_listen_fd(struct libwebsocket_pollfd *fd)
+LWS_VISIBLE int lws_poll_listen_fd(struct libwebsocket_pollfd *fd)
{
fd_set readfds;
struct timeval tv = { 0, 0 };
u_long optl = 1;
DWORD dwBytesRet;
struct tcp_keepalive alive;
+ struct protoent *tcp_proto;
if (context->ka_time) {
/* enable keepalive on this socket */