gSocketGetFd {RGtk2} | R Documentation

## gSocketGetFd

### Description

Returns the underlying OS socket object. On unix this is a socket file descriptor, and on windows this is a Winsock2 SOCKET handle. This may be useful for doing platform specific or otherwise unusual operations on the socket.

### Usage

    gSocketGetFd(object)

### Arguments

``object`` | a `GSocket`.

### Details

Since 2.22

### Value

[integer] the file descriptor of the socket.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]