Edit

Share via


NmeaTcpServer Constructors

Definition

Overloads

NmeaTcpServer(String)

Creates a server with the given source name. The default network port is 10110.

NmeaTcpServer(String, IPAddress, Int32)

Creates a server with the given source name bound to the given local IP and port. This will not open the server yet. Use StartDecode() to open the network port.

NmeaTcpServer(String)

Creates a server with the given source name. The default network port is 10110.

public NmeaTcpServer (string name);
new Iot.Device.Nmea0183.NmeaTcpServer : string -> Iot.Device.Nmea0183.NmeaTcpServer
Public Sub New (name As String)

Parameters

name
String

Source name

Applies to

NmeaTcpServer(String, IPAddress, Int32)

Creates a server with the given source name bound to the given local IP and port. This will not open the server yet. Use StartDecode() to open the network port.

public NmeaTcpServer (string name, System.Net.IPAddress bindTo, int port);
new Iot.Device.Nmea0183.NmeaTcpServer : string * System.Net.IPAddress * int -> Iot.Device.Nmea0183.NmeaTcpServer
Public Sub New (name As String, bindTo As IPAddress, port As Integer)

Parameters

name
String

Source name

bindTo
IPAddress

Network interface to bind to (Use Any to bind to all available interfaces

port
Int32

The network port to use

Applies to