Returns the remote address to which a CFSocket object is connected.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The CFSocket object to examine.
The remote address, stored as a
struct sockaddr appropriate for the protocol family (
struct sockaddr or
struct sockaddr, for example) in a CFData object, to which
s is connected. Ownership follows the The Create Rule.