int vortex_support_pipe ( VortexCtx ctx,
int  descf[2] 
)

Creates a portable pipe (by creating a socket connected pair).

Parameters
descfThe pointer to the buffer where descriptors will be stored.
ctxThe context where the operation will take place.
Returns
The function returns -1 in the case of failure or 0 if pipe was properly created.

References vortex_connection_set_sock_block(), vortex_connection_set_sock_tcp_nodelay(), and vortex_listener_accept().