mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 17:30:53 +08:00
cf2528eb7c
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
18 lines
410 B
C
18 lines
410 B
C
#ifndef __AIO_ECHO_CLIENT_INCLUDE_H__
|
|
#define __AIO_ECHO_CLIENT_INCLUDE_H__
|
|
|
|
#define ECHO_CTL_END 0
|
|
#define ECHO_CTL_SERV_ADDR 1
|
|
#define ECHO_CTL_MAX_CONNECT 2
|
|
#define ECHO_CTL_MAX_LOOP 3
|
|
#define ECHO_CTL_TIMEOUT 4
|
|
#define ECHO_CTL_DATA_LEN 5
|
|
#define ECHO_CTL_NCONN_PERSEC 6
|
|
#define ECHO_CTL_EVENT_MODE 7
|
|
|
|
void echo_client_init(int name, ...);
|
|
void echo_client_start(int use_slice);
|
|
|
|
#endif
|
|
|