Commit Graph

1 Commits

Author SHA1 Message Date
Dan Winship
619fb5dd27 GSocket: set protocol when using g_socket_new_from_fd()
Otherwise, attempting to create a GSocketConnection from the socket
will likely return the wrong type, since the protocol won't match any
of the registered subtypes.

Also add the start of a GSocket test program (from davidz).

https://bugzilla.gnome.org/show_bug.cgi?id=627171
(cherry picked from commit 87d06109ab)
2010-11-12 09:04:30 -05:00