Contents

socket

The receiver’s native socket identifier on the platform.

Declaration

var socket: SocketNativeHandle { get }

Discussion

In macOS, the native socket identifier is an integer file descriptor.

See Also

Getting Information