Version 4 (modified by 14 years ago) (diff) | ,
---|
The neercs client-server protocol
List of commands happening on the client/server sockets.
Current commands
The following commands are currently implemented.
Client to server:
ATTACH %d %d %d
: attach client with a $1x$2 display and refresh delay $3QUIT
: quit everythingDELAY %d
: update refresh delayRESIZE %d %d
: change display sizeKEY %d
: key $1 pressedMOUSEP %d %d %d
: mouse button $3 pressed at $1,$2MOUSER %d %d %d
: mouse button $3 released at $1,$2MOUSEM %d %d %d
: mouse motion to $1,$2 with button $3 pressed
Server to client:
TITLE %d %s
: change display title for window$1
to"$2"
CURSOR %d %d
: set cursor visibility for window$1
to$2
UPDATE %d %d %s
: upload part of a window, caca canvas $3 starting at $1,$2REFRESH %d %d
: refresh display, with cursor at $1,$2 (sent after all updates, when client should be consistent)DETACH