Use g_io_channel_win32_new_socket() instead of g_io_channel_unix_new() on WIN32.
Attach a file by drag & drop or click to upload