# `Meshcore.Transport.TCP`
[🔗](https://github.com/nyannus/meshcore_ex/blob/v0.1.0/lib/meshcore/transport/tcp.ex#L1)

TCP transport (e.g. a WiFi companion firmware or a serial-to-TCP bridge).

Options: `:host` (required), `:port` (required), `:connect_timeout`
(milliseconds, default `10_000`).

Like the Python implementation it detects half-dead connections: if
5 requests in a row were sent without any frame coming back, the link is
reported as lost (`:tcp_no_response`) so the client can reconnect.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
