Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

CFSocketMBS class

Super class: CFObjectMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class CoreFoundation Network MBS MacCF Plugin 3.3 Yes No No Yes, macOS only No
Function: A class for a CFSocket.
Notes:
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.

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins