bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TEST AAA


From: Paul Edwards
Subject: Re: TEST AAA
Date: Tue, 07 Oct 2003 02:43:13 GMT

"Paul Edwards" <kerravon@nosppaam.w3.to> wrote in message 
news:Pofgb.139073$bo1.102873@news-server.bigpond.net.au...
> I will confirm whether "shutdown" is part of Unix, and if so,
> I'll try to find somewhere to put a "sleep(1)" in the server
> which will hopefully be sufficient for your purpose.

I have found somewhere that might work.  As a continuation
of TEST AAA, ie keep all the printfs and delays that are already
there, try applying this patch (still with cvs 1.11.6):

Index: server.c
===================================================================
RCS file: /cvs/ccvs/src/server.c,v
retrieving revision 1.284.2.4
diff -c -r1.284.2.4 server.c
*** server.c 1 May 2003 21:40:51 -0000 1.284.2.4
--- server.c 7 Oct 2003 02:40:01 -0000
***************
*** 5715,5720 ****
--- 5715,5721 ----
      {
   printf ("I LOVE YOU\n");
   fflush (stdout);
+         sleep(10);

  #ifdef SYSTEM_CLEANUP
   /* Hook for OS-specific behavior, for example socket subsystems on


Also, can you tell me exactly what your procedure is for starting
a server and client on the same machine.  ie what commands do
you issue, any other setup info you can give me.  I've never done
that myself.

BFN.  Paul.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]