1 #ifndef ACL_VSTREAM_NET_INCLUDE_H 2 #define ACL_VSTREAM_NET_INCLUDE_H 8 #include "../stdlib/acl_define.h" 9 #include "../stdlib/acl_vstream.h" 23 unsigned flag,
int io_bufsize,
int rw_timeout);
45 ACL_VSTREAM *client_stream,
char *ipbuf,
int bsize);
55 char *ipbuf,
int bsize);
74 int conn_timeout,
int rw_timeout,
int bufsize,
int *error);
86 int connect_timeout,
int rw_timeout,
int rw_bufsize);
99 int connect_timeout,
int rw_timeout,
int rw_bufsize,
int *error);
ACL_API ACL_VSTREAM * acl_vstream_accept_ex(ACL_VSTREAM *listen_stream, ACL_VSTREAM *client_stream, char *ipbuf, int bsize)
ACL_API ACL_VSTREAM * acl_vstream_connect_ex(const char *addr, int block_mode, int conn_timeout, int rw_timeout, int bufsize, int *error)
ACL_API ACL_VSTREAM * acl_vstream_connect(const char *addr, int block_mode, int connect_timeout, int rw_timeout, int rw_bufsize)
ACL_API ACL_VSTREAM * acl_vstream_accept(ACL_VSTREAM *listen_stream, char *ipbuf, int bsize)
ACL_API ACL_VSTREAM * acl_vstream_bind(const char *addr, int rw_timeout, unsigned flag)
ACL_API ACL_VSTREAM * acl_vstream_timed_connect(const char *addr, int block_mode, int connect_timeout, int rw_timeout, int rw_bufsize, int *error)
ACL_API ACL_VSTREAM * acl_vstream_listen_ex(const char *addr, int qlen, unsigned flag, int io_bufsize, int rw_timeout)
ACL_API ACL_VSTREAM * acl_vstream_listen(const char *addr, int qlen)
ACL_API void acl_vstream_set_udp_io(ACL_VSTREAM *stream)