Commits

Anonymous committed 6c531e3

Add DEV198

Comments (0)

Files changed (1)

sockbench/socketrun.c

 #define MAX_LINE 1024
 #define LISTENQ  1024
 
-#define R900
+#define DEV198
 
 #ifdef R900
 const char *serverip[] = {
 };
 #endif
 
+#ifdef DEV198
+const char *serverip[] = {
+    "10.131.1.198"
+};
+#endif
+
 int nservers = 8;
 int port[8];
 
         exit(EXIT_FAILURE);
     }
 
-    printf("Server #%d port:%d\n", id, p);
+    printf("Server #%d %s:%d\n", id, serverip[id], p);
 
     if (listen(listenfd, LISTENQ) < 0 ) {
         fprintf(stderr, "Error calling listen()\n");