RTRlib
Main Page
Modules
Data Structures
Examples
All
Data Structures
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
Data Structures
|
Functions
TCP transport socket
Transport sockets
Data Structures
struct
tr_tcp_config
Functions
int
tr_tcp_init
(const struct
tr_tcp_config
*config, struct
tr_socket
*socket)
Detailed Description
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
.
Generated on Fri Oct 5 2018 18:21:09 for RTRlib by
1.8.5