Platforms to show: All Mac Windows Linux Cross-Platform

CFSocketMBS class

Super class: CFObjectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreFoundation Network MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ✅ Yes All
A class for a CFSocket.

A CFSocket contains a native socket within a structure that can be used to read from the socket in the background and make the data thus read available using a runloop source.

Addresses are stored as CFDatas containing a struct sockaddr
appropriate for the protocol family; make sure that all fields are
filled in properly when passing in an address.

Some error codes:
kCFSocketSuccess = 0
kCFSocketError = -1
kCFSocketTimeout = -2
Subclass of the CFObjectMBS class.

Super class CFObjectMBS

This class has no sub classes.

Some useful global functions for this class:


The items on this page are in the following plugins: MBS MacCF Plugin.


CFSetMBS   -   CFStreamMBS


The biggest plugin in space...