Socket.this

Creates a new GSocket from a native file descriptor or winsock SOCKET handle. This reads all the settings from the file descriptor so that all properties should work. Note that the file descriptor will be set to non-blocking mode, independent on the blocking mode of the GSocket. Since 2.22

Parameters

fd int

a native socket file descriptor.

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta