![]() |
Deskflow 1.27.0.5
Keyboard and mouse sharing utility
|
Control messages for computer management and connection maintenance. More...

Variables | |
| const char *const | kMsgCNoop |
| No operation command. | |
| const char *const | kMsgCClose |
| Close connection command. | |
| const char *const | kMsgCEnter |
| Enter computer command. | |
| const char *const | kMsgCLeave |
| Leave computer command. | |
| const char *const | kMsgCClipboard |
| Clipboard grab notification. | |
| const char *const | kMsgCScreenSaver |
| Screensaver state change. | |
| const char *const | kMsgCResetOptions |
| Reset options command. | |
| const char *const | kMsgCInfoAck |
| Computer information acknowledgment. | |
| const char *const | kMsgCKeepAlive |
| Keep-alive message. | |
Control messages for computer management and connection maintenance.
|
extern |
Clipboard grab notification.
Message Code: "CCLP" Direction: Primary ↔ Secondary Format: "CCLP%1i%4i" Parameters:
Example:
Primary clipboard grabbed, sequence 1
Sent when an application grabs a clipboard on either computer. This notifies the other computer that clipboard ownership has changed. Secondary computers must use the sequence number from the most recent kMsgCEnter. The primary always sends sequence number 0.
Clipboard Identifiers:
|
extern |
Close connection command.
Message Code: "CBYE" Direction: Primary → Secondary Format: No parameters
Instructs the client to close the connection gracefully. The client should clean up resources and disconnect.
|
extern |
Enter computer command.
Message Code: "CINN" Direction: Primary → Secondary Format: "CINN%2i%2i%4i%2i" Parameters:
Example:
Enter at (400, 300), sequence 1, no modifiers
Sent when the mouse cursor enters the secondary computer from the primary. The coordinates specify the exact entry point. The sequence number is used to order messages and must be returned in subsequent messages from the client. The modifier mask indicates which toggle keys (Caps Lock, Num Lock, etc.) are active and should be synchronized on the secondary computer.
|
extern |
Computer information acknowledgment.
Message Code: "CIAK" Direction: Primary → Secondary Format: No parameters
Sent by the primary in response to a secondary computer's kMsgDInfo message. This acknowledgment is sent for every kMsgDInfo, whether or not the primary had previously sent a kMsgQInfo query.
|
extern |
Keep-alive message.
Message Code: "CALV" Direction: Primary ↔ Secondary Format: No parameters
Sent periodically by the server to verify that connections are still active. Clients must reply with the same message upon receipt.
Timing:
Behavior:
|
extern |
Leave computer command.
Message Code: "COUT" Direction: Primary → Secondary Format: No parameters
Sent when the mouse cursor leaves the secondary computer and returns to the primary. Upon receiving this message, the secondary computer should:
|
extern |
No operation command.
Message Code: "CNOP" Direction: Secondary → Primary Format: No parameters
A no-operation message that can be used for testing connectivity or as a placeholder. Has no effect on the receiving end.
|
extern |
Reset options command.
Message Code: "CROP" Direction: Primary → Secondary Format: No parameters
Instructs the client to reset all of its options to their default values. This is typically sent when the server configuration changes.
|
extern |
Screensaver state change.
Message Code: "CSEC" Direction: Primary → Secondary Format: "CSEC%1i" Parameters:
Screensaver started
Screensaver stopped
Notifies the secondary computer when the primary's screensaver starts or stops. The secondary can use this to synchronize its own screensaver state.