See tport.docs for more detailed description of tport interface.
#include "config.h"
#include "tport_internal.h"
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
Include dependency graph for tport_type_tcp.c:

Functions | |
| int | tport_recv_stream (tport_t *self) |
| Receive from stream. | |
| int tport_recv_stream | ( | tport_t * | self | ) |
Receive from stream.
| -1 | error | |
| 0 | end-of-stream | |
| 1 | normal receive | |
| 2 | incomplete recv, recv again |