Contents

CFSocketGetSocketFlags(_:)

Returns flags that control certain behaviors of a CFSocket object.

Declaration

func CFSocketGetSocketFlags(_ s: CFSocket!) -> CFOptionFlags

Parameters

  • s:

    The CFSocket to examine.

Return Value

A bitwise-OR combination of flags controlling the behavior of s. See CFSocket Flags for the list of available flags.

Discussion

See CFSocketSetSocketFlags(_:_:) for details on what the flags of a CFSocket mean.

See Also

Configuring Sockets