socket_connected man page

socket_connected — is a connection established on a socket?

Syntax

#include <socket.h>

int socket_connected(int s);

Description

socket_connected returns 1 if s is a socket and a connection is established, 0 otherwise.

See Also

socket_remote4(3), socket_remote6(3)

Referenced By

socket_accept4(3), socket_accept6(3).