spx2 has asked for the wisdom of the Perl Monks concerning the following question:

uhm...ok...ive pulled it off somehow..
dont yet have any GUI for the server
(yes i know the server is not supposed to
have a GUI but uhm im making this a one-on-one
chat like only client and server , zentara
did tough post some very good code on how
its actually supposed to be done and i have looked
upon that).
for all newbies like me,please DO NOT take this
code into consideration,its just an experiment
gone terribly wrong,but...working.
ok uhm...here's version 0.1
http://perlhobby.googlecode.com/svn/trunk/scripturi_perl_teste/chat0.1/
i have tested it in ubuntu,it seems to work ok,as long
as server starts first.
it doesnt work on windows.
client has GUI and you can do stuff with that but server
has only console and you can use that to send receive
messages.
i posted so that i get impressions/suggestions from you
monks as i am pretty...unexperienced atm.
i intend with all suggestions gathered to re-write the app several times until i get it perfectly right :)
thanks for any suggestions you might have

Replies are listed 'Best First'.
Re: buggy chat app
by zentara (Cardinal) on May 27, 2007 at 13:08 UTC
    You might want to compare your code (I'll play with it later while watching the baseball game :-) ) to ztk-enchat encrypted server client

    The reason I say this, is that if you intend to run your chat on the open internet, you probably need port-password-protection and some encryption.


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
Re: buggy chat app
by xiaoyafeng (Deacon) on May 28, 2007 at 12:08 UTC
    shaking hand!

    I'm also new to Perl. Meeting a newbie is difficult in this community ;) Several months ago, I've finished a CS chat system (a little ugly and simple,of course). I referred to perlchat source during programming. I hope it would be helpful for you also.

    I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction