Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] perl chat room program?

Expand Messages
  • Peter L. Berghold
    ... Hash: SHA1 ... Most chat programs assumes that there is a server somewhere that the clients all connect to over a TCP/IP (or other protocol) socket. The
    Message 1 of 2 , Jul 2, 2007
    • 0 Attachment
      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      Lou Hernsen wrote:
      > where do I look for more info on a perl chat room program?
      > is there a certain command for sending info to certain people are logged on?
      >

      Most chat programs assumes that there is a server somewhere that the
      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
      other methods.


      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

      iD8DBQFGiTtTUM9/01RIhaARAuSiAJ9C4XAMxMF5WXfxNlauO8Z0S5EdbgCfXBVg
      UZmkkMjFUA9XrUitJlF1IAE=
      =0uON
      -----END PGP SIGNATURE-----
    Your message has been successfully submitted and would be delivered to recipients shortly.