Platforms to show: All Mac Windows Linux Cross-Platform
CFHostMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation Network | MBS MacCF Plugin | 5.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
You can asyncronly resolve hostnames to IPs and back.
IPv6 compatible.
Subclass of the CFObjectMBS class.
- 3 events
- event Error(ErrorDomain as Integer, ErrorCode as Integer)
- event GotAddress(address as string, addressIndex as Integer, count as Integer)
- event GotName(name as CFStringMBS, nameIndex as Integer, count as Integer)
- 2 methods
- method LookupAddress(address as string) as boolean
- method LookupName(hostname as CFStringMBS) as boolean
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
This class has no sub classes.
Some examples using this class:
Xojo Developer Magazine
The items on this page are in the following plugins: MBS MacCF Plugin.
CFGregorianUnitsMBS - CFHTTPMessageMBS