Commit Graph

11 Commits (c8fc0ad5a772c55a88900d521684cfcf35afe7cb)

Author SHA1 Message Date
Christian Beier cf72a0f7c3 Call WSAGetLastError() everywhere errno is read after a Winsock call.
Winsock does NOT update errno for us, we have fetch the last error
manually using WSAGetLastError().
15 years ago
Christian Beier c0373e9cd4 Non-blocking sockets for Windows.
Expands the SetNonBlocking() function in libvncclient/sockets.c to also
work under Windows and also changes it to honour maybe already present
socket flags.

A similar function was introduced for libvncserver as well and
all the #ifdef'ed fnctl calls replaced with calls to that one.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
16 years ago
runge f57eb8742f Add "Connection: close" to HTTP replies. 19 years ago
runge 5920dc18d7 SSL patch for Java viewer. https support for x11vnc. 20 years ago
runge c59929365c x11vnc: -gui tray mode, httpd.c: check httpListenSock >= 0. 21 years ago
dscho 8bee4eb990 ANSIfy, fix some warnings from Linus' sparse 21 years ago
dscho 34f714bcdc socketInitDone -> socketState 21 years ago
runge b8b96689bf add '-listen ipaddr' option 21 years ago
dscho 658b65ad0c support MinGW32! 21 years ago
dscho 97299606da global structures/functions should have "rfb", "sra" or "zrle" as prefix,
while structure members should not
22 years ago
dscho 876868553d move the library into libvncserver/, x11vnc into x11vnc/ 22 years ago