Re: client-server with socket

2002-09-24 Thread zentara
On Tue, 24 Sep 2002 08:44:30 -0400, [EMAIL PROTECTED] (Zentara) wrote: >On Tue, 24 Sep 2002 10:47:33 +0100, [EMAIL PROTECTED] (Mat >Harris) wrote: > >>anyone willing to write me some quick examples. > >Here is a "sockets-upload client-server" I wrote with Net::EasyTCP. I must add that Net::EasyT

Re: client-server with socket

2002-09-24 Thread zentara
On Tue, 24 Sep 2002 10:47:33 +0100, [EMAIL PROTECTED] (Mat Harris) wrote: >sorry, i have not made myself clear and the many typos won't have helped > >1) user runs client using config file containing username/passwd/domainname >2) client connects to server and awaits ready code >3) server sees cl

Re: client-server with socket (fwd)

2002-09-24 Thread Sudarshan Raghavan
On Tue, 24 Sep 2002, Mat Harris wrote: > i have read that but either it doesn't explain about 2-way sockets or i > don't understand it. It does the socket call creates a communication endpoint (for both reading and writing). You can access this endpoint through the filehandle which is the firs

Re: client-server with socket (fwd)

2002-09-24 Thread Mat Harris
udarshan 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

Re: client-server with socket (fwd)

2002-09-24 Thread Sudarshan Raghavan
-- 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 cle

Re: client-server with socket

2002-09-24 Thread Mat Harris
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 awai

RE: client-server with socket

2002-09-23 Thread Bob Showalter
> -Original Message- > From: Mat Harris [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 4:19 AM > To: [EMAIL PROTECTED] > Subject: client-server with socket > > > i have got the multithreaded server example from perldoc but > i need a client > that will connect, and upon r

RE: client-server with socket

2002-09-23 Thread NYIMI Jose (BMB)
> excellent but do i have to re-write the server for this to work? > > > > i need a client that will connect, and upon recieving a certain work from the >server ... You said: "... upon receiving a work ..." So that means your client is also a kind of server. Otherwise, I don't know how it will

Re: client-server with socket

2002-09-23 Thread Mat Harris
excellent but do i have to re-write the server for this to work? On Mon, Sep 23, 2002 at 12:30:57 +0200, NYIMI Jose (BMB) wrote: > use a special forking form of open : > > The open function, when passed as its second argument either "-|" or > "|-" will implicitly pipe and fork. This makes the pi

RE: client-server with socket

2002-09-23 Thread NYIMI Jose (BMB)
use a special forking form of open : The open function, when passed as its second argument either "-|" or "|-" will implicitly pipe and fork. This makes the piping code above slightly easier. The child talks to the parent over STDIN or STDOUT, depending on whether "-|" or "|-" was used. Example