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!) -> BoolParameters
- s:
The CFSocket object to examine.
Return Value
true if s can be used for communication, otherwise false.