Re: listening to socket

From: Date: Mon, 16 Jul 2001 23:03:22 +0000
Subject: Re: listening to socket
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2229@lists.php.net to get a copy of this message
You can use gtk::input_add($yourfp, GDK_INPUT_READ, 'function_to_call','params' This will listen on $yourfp and call function_to_call when there is data waiting to be read on the file pointer/socket. If this is what you want :) Thanks MarkL On Monday 16 July 2001 11:21 pm, Robert Abbate wrote: > I am trying to create the ability for GTK to "listen" for requests made TO > the client's computer. > > 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? > > so far, I've gotten it to be able to grab the I.P. number of the client's > computer. > > Thanks, > Robert Abbate

« previous php.gtk (#2229) next »