in reply to Re: Gtk2 Chat server and Client
in thread Gtk2 Chat server and Client

I have been looking around and have found that POE maybe the way to go. Right now I am just interested in getting a chat server/client program started. I figure that if I can get that going I can then build Gtk2 around it. I have found a POE chat server taken from POE Cookbook but they dont have a client. I could probably figure out how they work if only I had an example of a client that was built using POE. Thats where I ask perlmonks for their knowledge.

Replies are listed 'Best First'.
Re^3: Gtk2 Chat server and Client
by zentara (Cardinal) on Dec 23, 2007 at 15:01 UTC
    I might throw this tidbit in for you to consider: POE is an event loop system, as is Gtk2. So you are going to have to work out a way to let the 2 distinct event loops to work concurrently. Usually a timer run in your master loop, can do a 1-loop-update in the slave loop. Also, I havn't looked at POE lately, but it used to have a way to integrate Tk into it( look in the cookbook ), so you may be able to do the same with Gtk2( or ask a POE expert ).

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum