Dong Fang <yp.fangdong@gmail.com> Martin Sustrik <sustrik@250bpm.com>
sp_recv - receive one ubuf from endpoint
#include <xio/sp.h>
int sp_recv (int eid, char *ubuf);*
Receive a ubuf from the endpoint eid and store it in the buffer referenced by the ubuf argument.
On success, zero is returned. On error, -1 is returned, and errno is set appropriately.
No any available ubuf. try again.
Dong Fang <yp.fangdong@gmail.com> Martin Sustrik <sustrik@250bpm.com>