TcpConnection.create

TcpConnection create(TcpConnectionConfig config = TcpConnectionConfig.init) static @trusted nothrow

Create a detached connection wrapper.

Returns

A new connection wrapper ready to be connected or adopted.

Returns an owned wrapper. The caller is responsible for calling dispose() or close() to release resources.