Re: listening to socket
| From: | Tarique Sani <tarique@nagpur.dot.net.in> | Date: | Tue, 17 Jul 2001 04:07:55 +0000 |
| Subject: | Re: listening to socket | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2231@lists.php.net to get a copy of this message | ||
On Mon, 16 Jul 2001, Robert Abbate wrote:
> In essence, I am trying to create an instant messaging system using GTK.
> Anyone have any ideas to get GTK to be able to receive a text page, and
> alert the user?
Ah! I did not read this before I fired off my previous mail.
For instant messaging have you considered using Jabber from
www.Jabber.org
Works cools and it even has a PHP extension which you can use jPHP for
text based chat.
If you cant use jabber then the best bet is to use HTTP remember if you
want real peer to peer messaging then you will have to run your own
message server along with the client. Otherwise the hack is to keep a web
server as a middle tier and poll it every N seconds. Not very elegant but
works OK in real life situations.
Tarique
--
=========================================
B2B Application Providers
http://www.sanisoft.com
Vortal for Nagpur http://nagpurcity.net
=========================================