C++ SocketsC++ Socket 库
C++ Sockets 是一个跨平台的 Sockets 库,实现包括 TCP、UDP、ICMP、SCTP 协议。已实现的应用协议包括有 SMTP、HTTP(S)、Ajp (1.3)。具有 SOCKS 客户端实现以及匿名 DNS ,支持 HTTP 的 GET/POST/PUT 以及 WebServer 的框架。
示例代码:
#include "StatusSocket.h" StatusSocket::StatusSocket(ISocketHandler& h) :TcpSocket(h) { } void StatusSocket::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"); }
评论
libiopc/c++跨平台socket库
一个c语言开发的跨平台网络IO库功能特性:1:c/c++api,底层支持epoll,select,poll等io模型2:异步事件模型3:任务池模型,跨平台线程接口4:跨平台(Linux/windows
libiopc/c++跨平台socket库
0
VnanoMsgAndroid Socket 通讯库
VNanoMsg是Android下的Socket通讯库,对NanoMsg的二次封装,仿照NNanoM
VnanoMsgAndroid Socket 通讯库
0
SwiftSocketsSwift Socket 封装库
SwiftSockets 是一个简单的 Swift Socket 封装库。服务器端:let sock
SwiftSocketsSwift Socket 封装库
0
FastSocket.NET.net异步socket库
FastSocket是一个轻量级易扩展的c#异步socket通信库,项目开始于2011年,经过近3年
FastSocket.NET.net异步socket库
0
bizsocket异步 socket 库
bizsocket 是一个异步socket 库,对一些业务场景做了支持断线重连一对一请求通知、粘性通知串行请求合并包分片处理(AbstractFragmentRequestQueue)缓存拦截器支持r
bizsocket异步 socket 库
0
VnanoMsgAndroid Socket 通讯库
VNanoMsg是Android下的Socket通讯库,对NanoMsg的二次封装,仿照NNanoMsg的第三方开源库。使用方法添加依赖项在build.gradle中加入VNanoMsg的引用andr
VnanoMsgAndroid Socket 通讯库
0