gSocketNewFromFd
Creates a new GSocket
from a native file descriptor
or winsock SOCKET handle.
gSocketNewFromFd(fd, .errwarn = TRUE)
|
a native socket file descriptor. |
.errwarn |
Whether to issue a warning on error or fail silently |
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
A list containing the following elements:
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.