Factory function that creates a connected socket.
Runtime adapters implement this to provide platform-specific TCP/TLS connections. The returned promise must resolve only after the connection (and TLS handshake, if applicable) is fully established.
Factory function that creates a connected socket.
Runtime adapters implement this to provide platform-specific TCP/TLS connections. The returned promise must resolve only after the connection (and TLS handshake, if applicable) is fully established.