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.
Original signature is '+ (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPortNameServer *)server'
Available in Mac OS X v10.0 and later.
| C# | Visual Basic | Visual C++ |
public static NSConnection ConnectionWithRegisteredNameHostUsingNameServer( NSString name, NSString hostName, NSPortNameServer server )
Public Shared Function ConnectionWithRegisteredNameHostUsingNameServer ( _ name As NSString, _ hostName As NSString, _ server As NSPortNameServer _ ) As NSConnection
public: static NSConnection^ ConnectionWithRegisteredNameHostUsingNameServer( NSString^ name, NSString^ hostName, NSPortNameServer^ server )
- name (NSString)
- The connection name.
- hostName (NSString)
- The host name.
- server (NSPortNameServer)
- The name server.
The NSConnection object whose send port links it to the NSConnection object registered with server under name on the host named hostName.
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)