Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to CFSocketMBS class.
CFSocketMBS.Address as CFBinaryDataMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
(Read and Write computed property)
CFSocketMBS.ConnectToAddress(address as CFBinaryDataMBS, timeout as Double) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns a socket error.
Some error codes:
kCFSocketSuccess | = 0 |
kCFSocketError | = -1 |
kCFSocketTimeout | = -2 |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some error codes:
kCFSocketSuccess | = 0, |
kCFSocketError | = -1, |
kCFSocketTimeout | = -2 |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFSocketMBS.IsValid as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFSocketMBS.NativeSocketHandle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CFSocketMBS.PeerAddress as CFBinaryDataMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns nil on any error.
CFSocketMBS.SendData(data as CFBinaryDataMBS, timeout as Double) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreFoundation Network | MBS MacCF Plugin | 3.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For convenience, a function is provided to send data using the socket with a timeout. The timeout will be used only if the specified value is positive.
Some error codes:
kCFSocketSuccess | = 0 |
kCFSocketError | = -1 |
kCFSocketTimeout | = -2 |
The items on this page are in the following plugins: MBS MacCF Plugin.