About Us

People

Research

Publications

Funding

Download




SMesh

Spines

Spread

Secure Spread




























Home Documentation License Download Mailing List Credits


NAME
       spines_recvfrom - Receive a message from a Spines socket


SYNOPSIS
       #include "spines_lib.h"

        int spines_recvfrom(int s, void *buf, size_t len, int flags, 
                            struct sockaddr *from, socklen_t *fromlen);


DESCRIPTION
       spines_recvfrom is used to receive a message from a Spines
       socket.  

       If from is not NULL, the source address is filled in.  The
       argument fromlen is a value-result parameter, initialized to
       the size of the buffer associ- ated with from, and modified on
       return to indicate the actual size of the address stored there.


RETURN VALUE
       spines_recvfrom returns the number of bytes received, or 
       -1 in case of an error





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