MonobjcMonobjc Documented Class Library
InitWithProtocolFamilySocketTypeProtocolAddress Method (family, type, protocol, address)
NamespacesMonobjc.FoundationNSSocketPortInitWithProtocolFamilySocketTypeProtocolAddress(Int32, Int32, Int32, NSData)

Initializes the receiver as a local socket with the provided arguments.

Original signature is '- (id)initWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol address:(NSData *)address'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithProtocolFamilySocketTypeProtocolAddress(
	int family,
	int type,
	int protocol,
	NSData address
)
Public Overridable Function InitWithProtocolFamilySocketTypeProtocolAddress ( _
	family As Integer, _
	type As Integer, _
	protocol As Integer, _
	address As NSData _
) As Id
public:
virtual Id^ InitWithProtocolFamilySocketTypeProtocolAddress(
	int family, 
	int type, 
	int protocol, 
	NSData^ address
)
Parameters
family (Int32)
The protocol family for the socket port.
type (Int32)
The type of socket.
protocol (Int32)
The specific protocol to use from the the protocol family.
address (NSData)
The family-specific socket address for the receiver copied into an NSData object.
Return Value
A local socket port initialized with the provided arguments.
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)