Re: [PBML] perl chat room program?
- -----BEGIN PGP SIGNED MESSAGE-----
Lou Hernsen wrote:
> where do I look for more info on a perl chat room program?Most chat programs assumes that there is a server somewhere that the
> is there a certain command for sending info to certain people are logged on?
clients all connect to over a TCP/IP (or other protocol) socket. The
chat clients then send their chat to the server and the server in turn
echoes that to all the connected clients.
That's the theory.
Now: to implement that in Perl you need to understand the inner workings
of the particular chat protocol you are trying to emulate. From that
understanding you can write your client using POE or any of a number of
Myself, I fail to see the point of doing so since there are so many good
clients out there already why re-invent the wheel?
Peter L. Berghold Unix Professional
Peter@... AIM: redcowdawg YIM: blue_cowdawg
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----