
C++ Sockets 是一个跨平台的 Sockets 库,实现包括 TCP、UDP、ICMP、SCTP 协议。已实现的应用协议包括有 SMTP、HTTP(S)、Ajp (1.3来自)。具有 SOCKS 客户端实现以及匿名 DNS ,支持 360百科HTTP 的 GET/PO扩学晚空ST/PUT 以及 WebServer 的框架。
- 中文名称 C++ Sockets
- 类别 跨平台的 Sockets 库
- 发布时间 2009年08月30日
- 协议 TCP、UDP、ICMP、SCTP
示例代码
#include
#include "StatusSocket.h"
StatusSocket::StatusSocket来自(ISocketHandler& h)
:TcpSocket(h)
{
}
void St反防互机浓atusSocket::OnAccept()
支清策拉责室细德求就环 {
Send("Local hostname : " + Utility::GetLocalHostname() + "\n");
Send("Local address : " + Utility::GetLocalAddress() + "\n");
回刚Send("Number of sockets in list : " + Utility::l2string(Handler().GetCount()) + "\n");
Send("\n");
}
版本发布
2009年08月30日,C++ Sockets 2.3.6 发布。
转载请注明出处累积网 » C++Sockets