NmeaTcpServer Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- port
- Int32
The network port to use