TCP transport socket
[Transport sockets]

An implementation of the TCP protocol for the RTR transport. See transport interface for a list of supported operations.

Data Structures

struct  tr_tcp_config
 A tr_tcp_config struct holds configuration for a TCP connection. More...

Functions

int tr_tcp_init (const struct tr_tcp_config *config, struct tr_socket *socket)

Function Documentation

int tr_tcp_init ( const struct tr_tcp_config config,
struct tr_socket socket 
)

Initializes the tr_socket struct for a TCP connection.

Parameters:
[in] config TCP configuration for the connection.
[out] socket Initialized transport socket.
Returns:
TR_SUCCESS On success.
TR_ERROR On error.
Examples:
rtr_mgr.c.
 All Data Structures Variables

Generated on 19 Jul 2019 for RTRlib by  doxygen 1.6.1