int valvula_support_pipe ( ValvulaCtx ctx,
int  descf[2] 

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

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

References valvula_connection_set_sock_block(), valvula_connection_set_sock_tcp_nodelay(), and valvula_listener_accept().