About Us

People

Research

Publications

Funding

Download




SMesh

Spines

Spread

Secure Spread




























Home Documentation License Download Mailing List Credits


NAME

       spines_sendto - Sends a message to a Spines socket


SYNOPSIS
       #include "spines_lib.h"

       int  spines_sendto(int  s,  const void *buf, size_t len, 
                          int flags, const struct sockaddr *to, 
                          socklen_t tolen); 


DESCRIPTION
       spines_sendto is used to send a message to a Spines
       socket. 

       The parameter s is the file descriptor of the sending socket.
       buf points to the begining of a buffer and len is the length
       of it. The destination client is identified by the parameter
       to. The parameter flags is not yet used.

RETURN VALUE
       spines_sendto returns the number of bytes sent or -1 if an
       error occured.




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