The Sequence Toolkit
www.sequence-toolkit.com
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
include
stk_tcp_server_api.h
Go to the documentation of this file.
1
9
#ifndef STK_TCP_SERVER_API_H
10
#define STK_TCP_SERVER_API_H
11
#include "
stk_env.h
"
12
#include "
stk_data_flow.h
"
13
20
stk_data_flow_t
*
stk_tcp_server_create_data_flow
(
stk_env_t
*env,
char
*name,
stk_uint64
id
,
stk_options_t
*options);
21
#define stk_tcp_create_publisher stk_tcp_server_create_data_flow
26
stk_data_flow_t *stk_tcp_server_accept(stk_data_flow_t *svr_df);
27
32
int
stk_tcp_server_fd
(
stk_data_flow_t
*svr_df);
33
38
stk_ret
stk_tcp_server_data_flow_send
(
stk_data_flow_t
*df,
stk_sequence_t
*data_sequence,
stk_uint64
flags);
39
44
stk_sequence_t
*
stk_tcp_server_data_flow_rcv
(
stk_data_flow_t
*df,
stk_sequence_t
*data_sequence,
stk_uint64
flags);
45
50
stk_ret
stk_tcp_server_data_flow_id_ip
(
stk_data_flow_t
*df,
struct
sockaddr *data_flow_id,socklen_t addrlen);
51
56
stk_ret
stk_tcp_server_data_flow_clientip
(
stk_data_flow_t
*df,
struct
sockaddr *data_flow_id,socklen_t addrlen);
57
#endif
Sequence Toolkit
API, Wed Apr 15 2015 22:32:53