aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/tcpclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tcpclient.c b/net/tcpclient.c
index 1f14fac..21729db 100644
--- a/net/tcpclient.c
+++ b/net/tcpclient.c
@@ -505,6 +505,7 @@ static void *tcpclient_new(t_floatarg udpflag)
x->x_addrbytes[i].a_w.w_float = 0;
}
x->x_addr = 0L;
+ x->x_timeout_us = 1000; /* set a default 1ms send timeout */
/* prepare child thread */
if(pthread_attr_init(&x->x_threadattr) < 0)
post("%s: warning: could not prepare child thread", objName);