tport_type_tcp.c File Reference


Detailed Description

TCP Transport.

See tport.docs for more detailed description of tport interface.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>

Martti Mela <Martti.Mela@nokia-email.address.hidden>

Date:
Created: Fri Mar 24 08:45:49 EET 2006 ppessi

#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.

Function Documentation

int tport_recv_stream ( tport_t *  self  ) 

Receive from stream.

Return values:
-1 error
0 end-of-stream
1 normal receive
2 incomplete recv, recv again


Sofia-SIP 1.12.4 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.