Returns the NSConnection object whose send port links it to the NSConnection object registered with the default NSPortNameServer under a given name on a given host.
Original signature is '+ (id)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName'
Available in Mac OS X v10.0 and later.
| C# | Visual Basic | Visual C++ |
public static NSConnection ConnectionWithRegisteredNameHost( NSString name, NSString hostName )
Public Shared Function ConnectionWithRegisteredNameHost ( _ name As NSString, _ hostName As NSString _ ) As NSConnection
public: static NSConnection^ ConnectionWithRegisteredNameHost( NSString^ name, NSString^ hostName )
The NSConnection object whose send port links it to the NSConnection object registered with the default NSPortNameServer under name on the host named hostName. Returns nil if no NSConnection object can be found for name and hostName. The returned NSConnection object is a child of the default NSConnection object for the current thread (that is, it shares the default NSConnection object's receive port).
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)