Spines

NAME
       spines_recv - Receives reliable data through the Spines network 


SYNOPSIS
       #include "spines_lib.h"

       int spines_recv(int s, void *buf, size_t len, int flags);


DESCRIPTION

       The parameter s must refer to a Spines socket that is already
       connected to some other Spines socket. 'buf' defines a memory
       address where the message can be stored, and 'len' is the
       available size for the message. flags is currently not used.

RETURN VALUE
       spines_recv returns the number of bytes received or -1 if an
       error occurred.