Changed port number
authorDaniel Kouřil <kouril@ics.muni.cz>
Tue, 24 Jan 2006 12:29:37 +0000 (12:29 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Tue, 24 Jan 2006 12:29:37 +0000 (12:29 +0000)
org.glite.security.gsoap-plugin/examples/wscalc_clt_ex.c
org.glite.security.gsoap-plugin/examples/wscalc_srv_ex.c
org.glite.security.gsoap-plugin/examples/wscalc_srv_ex2.c

index b289716..e55a6cc 100644 (file)
@@ -3,7 +3,7 @@
 #include "GSOAP_H.h"
 #include "CalcService.nsmap"
 
-static const char *server = "http://localhost:9999/";
+static const char *server = "http://localhost:19999/";
 
 int
 main(int argc, char **argv)
index dc0011d..dd9d49d 100644 (file)
@@ -69,8 +69,8 @@ main(int argc, char **argv)
                if ( soap_accept(&soap) < 0 ) {
                        fprintf(stderr, "soap_accept() failed!!!\n");
                        soap_print_fault(&soap, stderr);
-                       fprintf(stderr, "plugin err: %s", glite_gsplugin_errdesc(&soap));
-                       break;
+//                     fprintf(stderr, "plugin err: %s", glite_gsplugin_errdesc(&soap));
+                       continue;
                }
 
                printf("serving connection\n");
index 5753aba..7c96dab 100644 (file)
@@ -36,7 +36,7 @@ main(int argc, char **argv)
        char                               *name, *msg;
        char                               *subject = NULL;
        int                                             opt,
-                                                       port = 9999;
+                                                       port = 19999;
        int                                             sock;