Skip to main content

Module client

Module client 

Source
Expand description

A TCP client for the navmesh data server (spec 3.1, 3.6).

IPv4 only, TCP_NODELAY, one outstanding request per connection. A tile request that fails with a network-class error is retried on a fresh connection (RetryPolicy); a malformed answer is not.

Structs§

Client
A connection to a data server.
Host
A data server address: a host name or IPv4 address and a port.
RetryPolicy
How the client connects and retries a failed tile request.

Enums§

FetchError
Why fetching a tile failed.