Contents

CFSocketIsValid(_:)

Returns a Boolean value that indicates whether a CFSocket object is valid and able to send or receive messages.

Declaration

func CFSocketIsValid(_ s: CFSocket!) -> Bool

Parameters

  • s:

    The CFSocket object to examine.

Return Value

true if s can be used for communication, otherwise false.

See Also

Using Sockets