X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=test%2Fcomm.cpp;fp=test%2Fcomm.cpp;h=eb4de8c650658c55ec367a1ace46ca4df879cdde;hp=60446931ba06b5f303c5edf259a77168907e8e72;hb=b604df5f671b5e7abfd37570d76927a6ebd45f98;hpb=b2ba092858a40fc42afba6b529d5b97bcba363e2 diff --git a/test/comm.cpp b/test/comm.cpp index 6044693..eb4de8c 100644 --- a/test/comm.cpp +++ b/test/comm.cpp @@ -173,7 +173,7 @@ class test_comm : public TestFixture { // wait till server is up sleep(1); - socket_client_connection sc("localhost",6666,socket_client_connection::max_retries_default); + socket_client_connection sc(6666); sc.write("hello"); // don't call atexit and stuff _exit(0); @@ -246,7 +246,7 @@ class test_comm : public TestFixture // wait till server is up sleep(1); - socket_client_connection sc("localhost",6666,socket_client_connection::max_retries_default); + socket_client_connection sc(6666); sc.write("ABC"); sc.fill_buffer(1000000);