]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
Need socket and nanosleep, which SOURCE type ?
authorhades <hades>
Wed, 17 May 2000 05:55:58 +0000 (05:55 +0000)
committerhades <hades>
Wed, 17 May 2000 05:55:58 +0000 (05:55 +0000)
hadaq/nettrans.c

index 43dce2a0eeb8c962b0dddcadf1eaab6a02d75adf..338d631e56f1fc18a667839e054d1dd24a7b484e 100644 (file)
@@ -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 <unistd.h>
@@ -13,7 +13,7 @@ static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/had
 #include <string.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
-#include <sys/time.h>
+#include <time.h>
 #include <sys/types.h>
 
 #include <hadesstd.h>
@@ -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) {