mirror of
https://github.com/sheumann/VNCviewGS.git
synced 2024-12-11 05:49:55 +00:00
ec3cbc6748
This sets the tcpTUNEIPUSERPOLLCT and tcpTUNEIPRUNQCT tuning parameters to 10 (the maximum) instead of the default of 2. This makes Marinetti process more incoming data at once and significantly increases throughput. (Actually, current versions of Marinetti only seem to use tcpTUNEIPUSERPOLLCT, but we set both for compatibility with any future versions that actually use tcpTUNEIPRUNQCT.)
28 lines
870 B
C
28 lines
870 B
C
/********************************************************************
|
|
* vncview.h - functions not directly related to VNC session
|
|
********************************************************************/
|
|
|
|
#include <types.h>
|
|
|
|
extern GrafPortPtr newConnWindow;
|
|
|
|
extern int menuOffset;
|
|
|
|
/* Connection options */
|
|
extern int hRez;
|
|
extern BOOLEAN requestSharedSession;
|
|
extern BOOLEAN allowClipboardTransfers;
|
|
extern BOOLEAN emulate3ButtonMouse;
|
|
extern BOOLEAN viewOnlyMode;
|
|
extern BOOLEAN useHextile;
|
|
extern BOOLEAN tuneMarinetti;
|
|
extern char vncServer[257];
|
|
extern char vncPassword[10];
|
|
|
|
extern EventRecord myEvent; /* Event Record for TaskMaster */
|
|
extern BOOLEAN vncConnected; /* Is the GS desktop active */
|
|
extern BOOLEAN colorTablesComplete; /* Are the color tables complete */
|
|
|
|
extern void DoClose (GrafPortPtr wPtr);
|
|
extern void InitMenus (int);
|