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 first argument to the socket call.
For a two way communication both the client and server will read and write 
from their respective endpoints.

perldoc -f socket
perldoc Socket
 
You should also read through these docs. These modules provide a much 
easier interface for developing network applications. 
perldoc IO::Socket
perldoc IO::Socket::INET
perldoc IO::Socket::UNIX

Which part of the example is it that you don't understand?

> 
> > 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