summaryrefslogtreecommitdiffstats
path: root/libvncserver/sockets.c
Commit message (Collapse)AuthorAgeFilesLines
* websockets: Add wspath member to rfbClientRecGernot Tenchio2011-08-171-0/+1
| | | | | | | Added wspath member to rfbClientRec which holds the path component of the initial websocket request. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* websockets: Add encryption supportGernot Tenchio2011-08-171-5/+38
| | | | | | | [jes: moved out GnuTLS and OpenSSL support, added a dummy support, to separate changes better, and to keep things compiling] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* websockets: Initial WebSockets support.Joel Martin2011-08-171-0/+83
| | | | | | | | | | | | | | Has a bug: WebSocket client disconnects are not detected. rfbSendFramebufferUpdate is doing a MSG_PEEK recv to determine if enough data is available which prevents a disconnect from being detected. Otherwise it's working pretty well. [jes: moved added struct members to the end for binary compatibility with previous LibVNCServer versions, removed an unused variable] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* Remove some unused variables.Christian Beier2011-06-011-2/+0
|
* Fix rfbProcessNewConnection to return some value instead of void.George Kiagiadakis2011-06-011-6/+9
| | | | | | BUG: 256891 Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Split two event-loop related functions out of the rfbProcessEvents() mechanism.George Kiagiadakis2011-06-011-31/+42
| | | | | | | This is required to be able to do proper event loop integration with Qt. Idea was taken from vino's libvncserver fork. Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Set proper file permissions for source files.Christian Beier2011-03-101-0/+0
|
* Call WSAGetLastError() everywhere errno is read after a Winsock call.Christian Beier2011-03-031-0/+3
| | | | | Winsock does NOT update errno for us, we have fetch the last error manually using WSAGetLastError().
* libvncserver sockets: check cl->screen before accessing itTobias Doerffel2010-12-011-2/+2
| | | | | | | | | In commit 079394ca5b14d8067b95a9cf95a834828b4425a6 new code with insufficient checks was introduced causing a segfault when doing a HTTP server connection. Such connections have no screen set in the client data structure. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
* libvncserver sockets: favor per-screen maxclientwait over global one when set.Christian Beier2010-11-181-3/+8
| | | | Signed-off-by: Christian Beier <dontmind@freeshell.org>
* Non-blocking sockets for Windows.Christian Beier2010-09-131-15/+25
| | | | | | | | | | | 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>
* Add locks of updateMutex in rfbRedrawAfterHideCursor() andrunge2009-12-011-1/+1
| | | | rfbSetClientColourMap(). Up listen limit from 5 to 32.
* The great UltraVNC Compatibility Commitsteven_carr2006-05-151-3/+19
|
* rfbCheckFds now returns the number of processed eventsdscho2006-02-281-10/+13
|
* add handleEventsEagerly flag (Thanks, Donald)dscho2006-02-281-82/+86
|
* assorted fixes for MinGW32dscho2005-12-191-14/+17
|
* work around write() returning ENOENT on Solaris 2.7dscho2005-12-091-0/+3
|
* This monster commit contains support for TightVNC's file transfer protocol.dscho2005-09-281-0/+8
| | | | Thank you very much, Rohit!
* Introduce generic protocol extension method. Deprecatedscho2005-09-271-0/+7
| | | | the processCustomClientMessage() method.
* ANSIfy, fix some warnings from Linus' sparsedscho2005-05-151-20/+14
|
* socketInitDone -> socketStatedscho2005-05-071-2/+27
|
* add '-listen ipaddr' optionrunge2005-03-051-11/+31
|
* support MinGW32!dscho2004-12-011-13/+10
|
* global structures/functions should have "rfb", "sra" or "zrle" as prefix,dscho2004-08-301-22/+22
| | | | while structure members should not
* debugdscho2004-06-181-0/+8
|
* move the library into libvncserver/, x11vnc into x11vnc/dscho2004-05-251-0/+619