com.onlineobject.objectnet Namespace

EmbeddedUdpServer Constructor (EmbeddedSocketMode, Int32)

Initializes the transport.

Namespace:  com.onlineobject.objectnet.server.Transports.Udp
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public EmbeddedUdpServer(

	EmbeddedSocketMode mode,

	int socketBufferSize

)

Parameters

mode
Type: com.onlineobject.objectnet.server.Transports.Udp..::..EmbeddedSocketMode
Whether to create an IPv4 only, IPv6 only, or dual-mode socket.
socketBufferSize
Type: Int32
How big the socket's send and receive buffers should be.