[EMAIL PROTECTED] writes:
 >      What are the arguements passed and what does this program do??

They do not take any arguments. The server listens on port 1111 and
the client is hard wired to contact that port on localhost
(127.0.0.1), so you must run serv and cli on the same macine.  The
serv waits for _one_ connection attempt to arrive, does the SSL
handshake and reads until eof or buffer full (or OS not willing to
give more bytes (see BSD file descriptor semanics on man pages)),
which ever happens first. It then send back a string, drops the
connetion and exits.

 >      Where can I find the Makefile

They do not have a makefile. I suggest following commands:

        gcc -g -o cli cli.c
        gcc -g -o serv serv.c

        serv&
        cli

At any rate, they were supposed to be simple, so why should they need
a makefile or take arguments. They are meant to be read (in source code
form) instead of being run (though they should run OK). If you are
trying to run them before reading them, then you are misguided. If
you read them first, you'll have no trouble running them.

--Sampo

P.S. Sorry for posting private mail to list, but I thought this might
have general neophyte interest.
+-------------------------------------------------------------------------+
| Administrative requests should be sent to [EMAIL PROTECTED] |
| List service provided by Open Software Associates, http://www.osa.com/  |
+-------------------------------------------------------------------------+

Reply via email to