Closed Masterxilo closed 1 year ago
https://github.com/LibVNC/libvncserver/blob/master/common/sockets.c
/mnt/c/Users/windows/libvncserver/common/sockets.c:34:25: error: ‘nonBlocking’ undeclared (first use in this function); did you mean ‘non_blocking’? 34 | unsigned long block = nonBlocking ? 0 : 1; | ^~~~~~~~~~~ | non_blocking
rfbBool sock_set_nonblocking(rfbSocket sock, rfbBool non_blocking, void (*log)(const char *format, ...)) { #ifdef WIN32 unsigned long block = nonBlocking ? 0 : 1; if(ioctlsocket(sock, FIONBIO, &block) == SOCKET_ERROR) { errno=WSAGetLastError();
enough said. I already have a fork so cannot create PR. Thanks for the fix.
https://github.com/LibVNC/libvncserver/blob/master/common/sockets.c
enough said. I already have a fork so cannot create PR. Thanks for the fix.