socketPair

fnSocket[2] socketPair() @trusted

Creates a pair of connected sockets.

The two sockets are indistinguishable.

Throws

SocketException if creation of the sockets fails.