mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-21 23:13:08 +08:00
Improve: Reduce mouse operation lag during remote control
This commit is contained in:
@@ -693,6 +693,10 @@ public:
|
||||
{
|
||||
GroupName = group;
|
||||
}
|
||||
void SetNoDelay(BOOL bNoDelay = TRUE)
|
||||
{
|
||||
setsockopt(sClientSocket, IPPROTO_TCP, TCP_NODELAY, (char*)&bNoDelay, sizeof(BOOL));
|
||||
}
|
||||
} CONTEXT_OBJECT, * PCONTEXT_OBJECT;
|
||||
|
||||
typedef CList<PCONTEXT_OBJECT> ContextObjectList;
|
||||
|
||||
Reference in New Issue
Block a user