GSocket* ? http://developer.gnome.org/gio/2.30/GSocket.html#GSocket.description GSocket* are provided by GLib which is a requirement for GTK+ : so you need no additionnal dependency and no need to deal with the Win32 API : everything is already there, ready to be used !