Spines

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.

Distributed Systems and Networks Lab
Computer Science Department, Johns Hopkins University
207 Malone Hall
3400 North Charles Street
Baltimore, MD 21218
TEL: (410) 516-5562