TransportCreateSocket Method

Creates a Socket for the specified port and protocol.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.128 -- Release Build+c4e32e80ee4b39b519c6e4a0a25ff9269b8be666
public static Socket CreateSocket(
	string address,
	int port,
	ProtocolType protocol,
	IPStack stack,
	bool allowDualStackSocket = true
)

Parameters

address  String
The local address where the Socket will be bound.
port  Int32
The port number at which the Socket will be bound.
protocol  ProtocolType
One of the ProtocolType values.
stack  IPStack
Desired IP stack to use.
allowDualStackSocket  Boolean  (Optional)
Determines if dual-mode socket is allowed when endpoint address is IPv6.

Return Value

Socket
An Socket object.

See Also