Function

CFSocketGetTypeID()

Returns the type identifier for the CFSocket opaque type.

Declaration

func CFSocketGetTypeID() -> CFTypeID

Return Value

The type identifier for the CFSocket opaque type.

See Also

Using Sockets

func CFSocketInvalidate(CFSocket!)

Invalidates a CFSocket object, stopping it from sending or receiving any more messages.

func CFSocketIsValid(CFSocket!) -> Bool

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