Skip to main content

Module discovery

Module discovery 

Source
Expand description

Finding the server on the local network.

A Signal K server announces itself over mDNS, and the announcement carries more than an address: its TXT record names the vessel and gives the identifier that own-ship deltas will arrive under. A client therefore knows which boat it is looking at before it has connected to anything, and nothing about the server has to be typed in.

Structs§

Server
A server that answered.

Enums§

Discovery
How a client should look for the server – read from a settings store by the caller, plain string in, plain enum out.

Functions§

discover
Listens for servers for as long as it is given.
resolve_stated_server
The server the mariner stated by hand, resolved to something dialable.