Class ConnectionString
Parses the URI form used throughout MavNet to describe a MAVLink endpoint:
udp://localHost:localPort?rhost=remoteHost&rport=remotePort.
Defaults if not specified: localHost=0.0.0.0, localPort=14550,
rhost=127.0.0.1, rport=18570. Only udp:// is supported today;
the scheme prefix is reserved for future TCP/serial transports.
public static class ConnectionString
- Inheritance
-
ConnectionString
- Inherited Members
Methods
Parse(string)
Parses a connection string into local and remote IPEndPoint values.
public static (IPEndPoint Local, IPEndPoint Remote) Parse(string s)
Parameters
sstring
Returns
Exceptions
- ArgumentException
Thrown if the scheme is not
udp.