acl/lib_acl/samples/aio/client/echo_client.h
zsxxsz cf2528eb7c 完善了非阻塞IO的SSL功能;将 samples 移到 lib_acl 目录下
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
2014-11-30 21:15:35 +08:00

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