MonobjcMonobjc Documented Class Library
ConnectionWithRegisteredNameHostUsingNameServer Method (name, hostName, server)
NamespacesMonobjc.FoundationNSConnectionConnectionWithRegisteredNameHostUsingNameServer(NSString, NSString, NSPortNameServer)

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.

Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
name (NSString)
The connection name.
hostName (NSString)
The host name.
server (NSPortNameServer)
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.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)