About Us

People

Research

Publications

Funding

Download




SMesh

Spines

Spread

Secure Spread




























Home Documentation License Download Mailing List Credits


NAME
       spines_connect - Innitiates 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.




Questions or comments to:
webmaster_at_spines.org
TEL: (410) 516-5562
FAX: (410) 516-6134
Distributed Systems and Networks Lab
Computer Science Department
Johns Hopkins University
3400 N. Charles Street Baltimore, MD 21218-2686