Re: gdk_input_add



 I did take a look at gnet, but as I am coding on linux and porting to Windoze,
I want to carry along as few libs as possible ( afraid they will not be
available on windoze easily).
 I also took a look at gdk_inut_add.  But did not undesrtande how to get the
client socket descriptor from not doing an listen/accept

  Thanks for the reply.

Harring
--- Martyn Russell <ginxd btopenworld com> wrote:
Why not use GNet for the TCP bit:
http://www.gnome.org/softwaremap/projects/gnet/

and if you look at the documentation for gtk_input_add it speaks for 
itself.  Its quite easy, if you get stuck download an application that 
uses this combination and see how they do it... the source is ALL there!

http://developer.gnome.org/doc/API/2.0/gtk/gtk-general.html#gtk-input-add-full

Regards,

Martyn

Harring Figueiredo wrote:

Folks,

Any good example on how to use gdk_input_add on windows -- I am trying to
build a GTk/socket server on Windows. I noticed that a socket on Windows is
of
type SOCKET  -- (which might be a #def to int). 

 Anyone with good lib around it.

Thanks ?

Harring

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

 






__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]