NAME
spines_connect - Initiates a connection on a Spines socket
SYNOPSIS
#include "spines_lib.h"
int spines_connect(int sockfd, const struct sockaddr *serv_addr,
socklen_t addrlen);
DESCRIPTION
This call attempts to make a connection to another socket. The
other socket is specified by serv_addr, which is an address (of
length addrlen) in the communications space of the socket.
Generally, connection-based protocol sockets may successfully
connect only once.
RETURN VALUE
If the connection succeeds, zero is returned. On error, -1
is returned.