diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2009-04-08 19:48:50 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2009-04-08 19:48:50 +0000 |
commit | 4e710aee71943a8667d5b2c4ad4e57be890e6d23 (patch) | |
tree | 6c6024b9c363cd21beff6ea90a60c5de4537aa62 /net | |
parent | 6df697d3b2c03debb3d53252daf1ce4cb646ebe2 (diff) |
Oops, I had forgotten to add the default timeout of 1000us.
svn path=/trunk/externals/mrpeach/; revision=10988
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpclient.c | 1 |
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); |