TCP socket connection, used by all non-browser targets.
Connects via raw TCP (or TLS when tls is true) using ktor-network. The standard MQTT ports are 1883 (plain) and 8883 (TLS).
true
Broker hostname or IP address. Must not be blank.
TCP port number. Range: 1..65,535. Default: 1883.
If true, the connection is wrapped in TLS for encryption. Certificate validation uses the platform's default trust store.