Creates a new instance of OscServer.

Namespace:  Bespoke.Common.Osc
Assembly:  Bespoke.Common.Osc (in Bespoke.Common.Osc.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public OscServer(
	TransportType transportType,
	IPAddress ipAddress,
	int port,
	IPAddress multicastAddress,
	TransmissionType transmissionType
)
Visual Basic (Declaration)
Public Sub New ( _
	transportType As TransportType, _
	ipAddress As IPAddress, _
	port As Integer, _
	multicastAddress As IPAddress, _
	transmissionType As TransmissionType _
)
Visual C++
public:
OscServer(
	TransportType transportType, 
	IPAddress^ ipAddress, 
	int port, 
	IPAddress^ multicastAddress, 
	TransmissionType transmissionType
)

Parameters

transportType
Type: System.Net..::.TransportType
The underlying transport protocol.
ipAddress
Type: System.Net..::.IPAddress
The local IP address to bind to.
port
Type: System..::.Int32
The UDP port to bind to.
multicastAddress
Type: System.Net..::.IPAddress
The multicast IP address to join.
transmissionType
Type: Bespoke.Common.Net..::.TransmissionType
The transmission type for the server to use.

Remarks

If ipAddress is specified, Unicast; otherwise, if multicastAddress is specified, Multicast.

See Also