Disable logging. Version uses TCP_CORK option

This commit is contained in:
ftc
2023-03-14 23:30:58 +03:00
parent 9bf8c97ebf
commit 37dc90a65a
6 changed files with 21 additions and 10 deletions
+2
View File
@@ -10,6 +10,8 @@ class SynchronousSocket
private:
const int TIMEOUT = 10; // in seconds
const int BUFFER_SIZE = 1048576;
const int YES = 1;
const int NO = 0;
protected:
// собственно сокет
int socket;