From: hades Date: Wed, 17 May 2000 05:55:58 +0000 (+0000) Subject: Need socket and nanosleep, which SOURCE type ? X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=729515188941ac082e66c564b84698f4f0a0ddac;p=daqdata.git Need socket and nanosleep, which SOURCE type ? --- diff --git a/hadaq/nettrans.c b/hadaq/nettrans.c index 43dce2a..338d631 100644 --- a/hadaq/nettrans.c +++ b/hadaq/nettrans.c @@ -1,4 +1,4 @@ -static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.11 2000-03-07 12:42:17 muench Stab $"; +static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.12 2000-05-17 05:55:58 hades Exp $"; #define _XOPEN_SOURCE_EXTENDED #include @@ -13,7 +13,7 @@ static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/had #include #include #include -#include +#include #include #include @@ -193,7 +193,7 @@ int sendGeneric(NetTrans *my) { retVal = LAtm_send(my->lAtm, my->pkt, Pkt_size(my->pkt)); break; case NetTransType_udp: -#if 1 /* This limits the output data rate to 100 * mtuSize / s */ +#if 0 /* This limits the output data rate to 100 * mtuSize / s */ { static int i = 0; if (i++ % 2 != 0) {