Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initiate win32 cross-port
[simgrid.git] / src / gras / Transport / transport_plugin_tcp.c
index f687aa5..753296f 100644 (file)
@@ -2,24 +2,28 @@
 
 /* tcp trp (transport) - send/receive a bunch of bytes from a tcp socket    */
 
-/* Authors: Martin Quinson                                                  */
-/* Copyright (C) 2004 Martin Quinson.                                       */
+/* Copyright (c) 2004 Martin Quinson. All rights reserved.                  */
 
 /* This program is free software; you can redistribute it and/or modify it
-   under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include <unistd.h>       /* close() pipe() read() write() */
-#include <signal.h>       /* close() pipe() read() write() */
-#include <netinet/in.h>   /* sometimes required for #include <arpa/inet.h> */
-#include <netinet/tcp.h>  /* TCP_NODELAY */
-#include <arpa/inet.h>    /* inet_ntoa() */
-#include <netdb.h>        /* getprotobyname() */
-#include <sys/time.h>     /* struct timeval */
-#include <errno.h>        /* errno */
-#include <sys/wait.h>     /* waitpid() */
-#include <sys/socket.h>   /* getpeername() socket() */
-#include <stdlib.h>
-#include <string.h>       /* memset */
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#include "portable.h"
+
+#if 0
+#  include <unistd.h>       /* close() pipe() read() write() */
+#  include <signal.h>       /* close() pipe() read() write() */
+#  include <netinet/in.h>   /* sometimes required for #include <arpa/inet.h> */
+#  include <netinet/tcp.h>  /* TCP_NODELAY */
+#  include <arpa/inet.h>    /* inet_ntoa() */
+#  include <netdb.h>        /* getprotobyname() */
+#  include <sys/time.h>     /* struct timeval */
+#  include <errno.h>        /* errno */
+#  include <sys/wait.h>     /* waitpid() */
+#  include <sys/socket.h>   /* getpeername() socket() */
+#  include <stdlib.h>
+#  include <string.h>       /* memset */
+#endif
+
 
 #include "transport_private.h"