win32 and glib, socket data inaccessible



[this is a repost, my original mail was held for moderation, but it seems the
list isn't actively being moderated at the moment]

Hi!

I am trying to port a gtk2-perl program to windows (in theory an easy
task).

However, it's using sockets, and the only way to use them in a nonblocking
way (under Gtk2) seems to be to use glib watchers. Now, the problem is
that, when my callback gets called, glib has already read the data from
the filehandle, and there doesn't seem to be support for giochannels in
the Glib module, so there is no way to actually get the data.

Is this a known problem or did I just miss the giochannel
interface? (Sorry if it's the latter case).

I am using activestate perl + tml's native win32 libs.

Thanks for any insights...

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      pcg goof com
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE



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