Contents

fileDescriptor

The file descriptor to use when sending data.

Declaration

var fileDescriptor: Int32 { get }

Discussion

To send data to the other side of the connection, write to the file descriptor. To read data from connection, read from the file descriptor. If the socket connection is closed, the value of this property is -1.

See Also

Getting the connection details