Re: g_source_add_poll or g_io_add_watch in Windows?
- From: Diego Zuccato <diego otello alma unibo it>
- To: Peter Robinson <pjr itee uq edu au>
- Cc: gtk-list gnome org
- Subject: Re: g_source_add_poll or g_io_add_watch in Windows?
- Date: Thu, 31 Jul 2008 09:50:01 +0200
Peter Robinson ha scritto:
For the connection I am currently using g_source_add_poll using the
socket FD as returned by socket(AF_INET, SOCK_STREAM, 0).
Under Windows polling does not seem to be working. If I change to using
g_io_channel_win32_new_socket and g_io_add_watch then I can connect
clients.
IIRC there's a different handling in win. Sockets have their own fd, but
it's not pollable...
Any suggestions?
Trash windoze :-)
Or use an abstraction library (GNet?).
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]