Creates a new instance of OscServer.
Namespace:
Bespoke.Common.OscAssembly: 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, bool consumeParsingExceptions ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ transportType As TransportType, _ ipAddress As IPAddress, _ port As Integer, _ multicastAddress As IPAddress, _ transmissionType As TransmissionType, _ consumeParsingExceptions As Boolean _ ) |
Visual C++ |
---|
public: OscServer( TransportType transportType, IPAddress^ ipAddress, int port, IPAddress^ multicastAddress, TransmissionType transmissionType, bool consumeParsingExceptions ) |
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.
- consumeParsingExceptions
- Type: System..::.Boolean
Specifies the behavior of handling parsing exceptions.
Remarks
If ipAddress is specified, Unicast; otherwise, if multicastAddress is specified, Multicast.