Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make sure GRAS RL examples don't use the same ports when running tests in parallel
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Nov 2010 15:13:32 +0000 (15:13 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 26 Nov 2010 15:13:32 +0000 (15:13 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8677 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/gras/mmrpc/mmrpc_server.c
examples/gras/rpc/rpc.c

index f5a164d..32adb14 100644 (file)
@@ -42,7 +42,7 @@ int server(int argc, char *argv[])
 {
   xbt_ex_t e;
   gras_socket_t sock = NULL;
 {
   xbt_ex_t e;
   gras_socket_t sock = NULL;
-  int port = 4000;
+  int port = 4002;
 
   /* 1. Init the GRAS infrastructure */
   gras_init(&argc, argv);
 
   /* 1. Init the GRAS infrastructure */
   gras_init(&argc, argv);
index ae7f548..4c8e4fd 100644 (file)
@@ -72,7 +72,7 @@ int client(int argc, char *argv[])
 
 
   const char *host = "127.0.0.1";
 
 
   const char *host = "127.0.0.1";
-  int port = 4000;
+  int port = 4001;
 
   memset(&e, 0, sizeof(xbt_ex_t));
 
 
   memset(&e, 0, sizeof(xbt_ex_t));
 
@@ -337,7 +337,7 @@ int server(int argc, char *argv[])
   gras_socket_t mysock;
   server_data_t sdata;
 
   gras_socket_t mysock;
   server_data_t sdata;
 
-  int port = 4000;
+  int port = 4001;
 
   /* 1. Init the GRAS infrastructure */
   gras_init(&argc, argv);
 
   /* 1. Init the GRAS infrastructure */
   gras_init(&argc, argv);