On Wed, Mar 31, 2004 at 11:58:58PM -0700, Bryan Harris wrote:
> =)  I was referring to a socket.  I couldn't think of any place where I
> might need to use one.
As an example, I have a neural network system I made in Java. It accepts 
commands over a network socket. I then have a Perl program connect and 
control it over the socket. This means that I can have the program 
doing the hard work (the Java bit) on a remote computer, have the one I 
am using connect to it and tell it what to do. (This also means I can 
have one program controlling many instances of the java bit, which is 
why I did it like this). This is a place where sockets are useful. In 
general, they are used to allow communication between to programs. MySQL 
has a socket that clients connect to to use the database. X has a socket 
that X programs connect to to draw windows, and so on.

-- 
Robin <[EMAIL PROTECTED]>                 JabberID: <[EMAIL PROTECTED]>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0x776DB663 Fingerprint=DD10 5C62 1E29 A385 9866 0853 CD38 E07A 776D B663

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to