Module connection

Module connection 

Source

Structsยง

BufferedStream
A wrapper around a stream that ensures buffered data is read first.
ClientConnection
Manages the connection to the server, including authentication and reconnection logic.