Package-level declarations

Types

Link copied to clipboard

A MavConnection that acts as a TCP client endpoint.

Link copied to clipboard

A MavConnection that acts as a TCP server endpoint.

Functions

Link copied to clipboard
expect fun TcpClientMavConnection(host: String, port: Int, dialect: <Error class: unknown class>): TcpClientMavConnection

Creates a TcpClientMavConnection that connects to the specified host and port.

Link copied to clipboard
expect fun TcpServerMavConnection(port: Int, dialect: <Error class: unknown class>): TcpServerMavConnection

Creates a TcpServerMavConnection that listens on the specified port for a single connection. Once a connection is established, the server socket is closed.