summaryrefslogtreecommitdiffstats
path: root/tcp.c
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-13 18:54:32 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-13 18:54:32 +0100
commit66da3e3728bb45599916304da9b398cb4c84ddb3 (patch)
tree604ec78287afed15e87c0c5605c91a922654ed0f /tcp.c
parentobvestila, da dela samo na GNU OS (diff)
downloadrtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar.gz
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar.bz2
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar.lz
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar.xz
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.tar.zst
rtv4d-dl-66da3e3728bb45599916304da9b398cb4c84ddb3.zip
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp.c b/tcp.c
index 4d9418e..df49c30 100644
--- a/tcp.c
+++ b/tcp.c
@@ -13,7 +13,7 @@
#include <string.h>
#include <sys/time.h>
#define ERR_INET_ADDR "0.9.9.0"
-#define TCPC_READ_BUF 1024
+#define TCPC_READ_BUF 1048576 /* en megabajt */
union ip_conv {
unsigned char c[4];
struct in_addr in;