mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 20:08:21 +08:00
cf2528eb7c
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
14 lines
221 B
C++
14 lines
221 B
C++
#include "stdafx.h"
|
|
#include ".\chatdemo.h"
|
|
|
|
CChatDemo::CChatDemo(const char *s)
|
|
{
|
|
m_buf = acl_vstring_alloc(256);
|
|
acl_vstring_strcpy(m_buf, s);
|
|
}
|
|
|
|
CChatDemo::~CChatDemo(void)
|
|
{
|
|
acl_vstring_free(m_buf);
|
|
}
|