The following a relevant bits extracted from the MQTT spec.
Network Connection - A construct provided by the underlying transport protocol that is being used by MQTT:
It connects the Client to the Server.
It provides the means to send an ordered, lossless, stream of bytes in both directions.
The MQTT protocol requires an underlying transport that provides an ordered, lossless, stream of bytes from the Client to Server and Server to Client.
Client - A program or device that uses MQTT. A Client always establishes the Network Connection to the Server.
Server - A program or device that acts as an intermediary between Clients which publish Application Messages and Clients which have made Subscriptions.
Session - A stateful interaction between a Client and a Server. Some Sessions last only as long as the Network Connection, others can span multiple consecutive Network Connections between a Client and a Server.
The Client Identifier (ClientId) identifies the Client to the Server. Each Client connecting to the Server has a unique ClientId. The ClientId MUST be used by Clients and by Servers to identify state that they hold relating to this MQTT Session between the Client and the Server [MQTT-3.1.3-2].
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37996236-mqtt-session-resumption?utm_campaign=plugin&utm_content=tracker%2F462544&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F462544&utm_medium=issues&utm_source=github).
The following a relevant bits extracted from the MQTT spec.
Network Connection - A construct provided by the underlying transport protocol that is being used by MQTT:
Client - A program or device that uses MQTT. A Client always establishes the Network Connection to the Server.
Server - A program or device that acts as an intermediary between Clients which publish Application Messages and Clients which have made Subscriptions.
Session - A stateful interaction between a Client and a Server. Some Sessions last only as long as the Network Connection, others can span multiple consecutive Network Connections between a Client and a Server.