ns_socketpair

Name

ns_socketpair -- Create a pair of connected sockets

Syntax

ns_socketpair

Description

ns_socketpair creates a pair of connected sockets and returns a list of file ids: the first one for reads and the second one for writes.