From 4e710aee71943a8667d5b2c4ad4e57be890e6d23 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Wed, 8 Apr 2009 19:48:50 +0000 Subject: Oops, I had forgotten to add the default timeout of 1000us. svn path=/trunk/externals/mrpeach/; revision=10988 --- net/tcpclient.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1