---------- Forwarded message ----------
Date: Thu, 26 Sep 2002 11:34:46 +0530 (IST)
From: Sudarshan Raghavan <[EMAIL PROTECTED]>
To: Mat Harris <[EMAIL PROTECTED]>
Subject: Re: client-server with socket

On Tue, 24 Sep 2002, Mat Harris wrote:

> sorry, i have not made myself clear and the many typos won't have helped
> either. I need both ends of the connection to be able to read and write
> data. I will outline the process here:
> 
> 1) user runs client using config file containing username/passwd/domainname
> 2) client connects to server and awaits ready code
> 3) server sees client and checks sends a ready code
> 4) client sends config file info to server
> 5) server calls sub in a module to validate username/password/domain
> 6) if all ok then send "ok" to client else send "not ok" 
> 7) client sees "ok" and sends ip update request
> 8) server updates database
> 
> The server is running in inittab so no output is seen, but the client will
> print error codes and interpretations to STDOUT
> 
> anyone willing to write me some quick examples.
> 
> PS, the server needs to be forking (multithreaded)

perldoc perlipc and read through the "Internet TCP Clients and Servers" 
section.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to