VALVULA_SOCKET valvula_listener_accept ( VALVULA_SOCKET  server_socket)

Public function that performs a TCP listener accept.

Parameters
server_socketThe listener socket where the accept() operation will be called.
Returns
Returns a connected socket descriptor or -1 if it fails.

Referenced by valvula_support_pipe().