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.

RELATED TO socket_connected…