Hello everyone,
I'm writing a Tk chat client for a chat server I'm working on. I'd like the interface to be somewhat like
Tk/Perl Chatterbox Client. It will have an entry box, where the user type things in to send the the server, and a non-editable box, where information from the server is displayed. The problem that I run into with this is that I need to regularly query the server to get information. The only way that I can think of to do this is to send the program into an eternal loop, where it sleeps for a few seconds and then queries the server. I need to be able to routinely query the server and still be able to access other parts of the program.
I looked through the code for Tk/Perl Chatterbox Client and was overwhelmed by the size of it. I wasn't able to RTFM, because I couldn't find any FM to read.
-Ben Jacobs (dooberwah)
"one thing i can tell you is you got to be free"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.