connectionWithRegisteredName:host:usingNameServer:
Returns the NSConnection object whose send port links it to the NSConnection object registered under a given name with a given server on a given host.
Declaration
+ (instancetype) connectionWithRegisteredName:(NSString *) name host:(NSString *) hostName usingNameServer:(NSPortNameServer *) server;Parameters
- name:
The connection name.
- hostName:
The host name.
- server:
The name server.
Return Value
The NSConnection object whose send port links it to the NSConnection object registered with server under name on the host named hostName.
Discussion
See connectionWithRegisteredName:host: for more information.