Re: g_callable_info_get_n_args assertion fail -> core dump

2013-05-25 Thread Hugosenari
> > Hey list, > > I'm getting this very rare and unpredictable error which is difficult to > replicate. I have a secondary Python worker thread which very rarely > creates the following error: > > ** (Main.py:32524): CRITICAL **: g_callable_info_get_n_args: > assertion `GI_IS_CAL

Re: GIO - Simple socket Client - Need suggestions on which API set to use (or sample code)

2013-05-25 Thread schuster . bernhard
I used gsocketconnection (actually derived classes for server and client) some time ago. It worked pretty well under *nix, did not test it with any microsoft products. The applucation I wrote implemented a custom protocol ontop of TCP/IP. If you got fyrther questions keep asking. Best Bernhard

Re: GIO - Simple socket Client - Need suggestions on which API set to use (or sample code)

2013-05-25 Thread Thomas A. Moulton
With windows support only partially completed (it says so everywhere) The big question is now: What is the status of GIOChannel support on windows? specifically the APIs: g_io_channel_windows_new g_io_channel_set_encoding g_io_channel_set_buffered g_io_add_watch g_io_channel_unref g_io_channe

Re: GIO - Simple socket Client - Need suggestions on which API set to use (or sample code)

2013-05-25 Thread Thomas A. Moulton
Well I think from the archives I saw mention of GIOChannel, so gave it a try. case CONNECT: sock = socket_connect(host, 4321); if (sock < 0) { fcm->State = OFFLINE; break; } fcm->iochannel = g_io_channel_uni