Bryan Harris wrote:

By the way, what's a socket?


Depends upon network type and OpSys


Basically a socket is a place to send
data and "not worry" too much about where
it went.  A pipe (usually a named
permanent connection) is set-up between
two sockets or two points.  You can encrypt
data traveling over a pipe by function of the
pipe - but you usually must encrypt data
before sending it to a socket.

A Socket is typically between
applications and  their data and
pipes are between applications.

An example is MySQL:

*.mysql *.* 0 0 49152 0 LISTEN

30001558e50 stream-ord 300026159e0 00000000 /tmp/mysql.sock


This is a local Unix Socket where MySQL awaits a connection.

man or perldoc -

    IO::Handle
    IO::Seekable
    IO::File
    IO::Pipe
    IO::Socket
    IO::Dir

HTH/Sx

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to