All Projects → eminfedar → Async Sockets Cpp

eminfedar / Async Sockets Cpp

Licence: mit
Simple thread-based asynchronous TCP & UDP Socket classes in C++.

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Async Sockets Cpp

Socket
Non-blocking socket and TLS functionality for PHP based on Amp.
Stars: ✭ 122 (-3.94%)
Mutual labels:  tcp, socket, udp
ddos
Simple dos attack utility
Stars: ✭ 36 (-71.65%)
Mutual labels:  socket, tcp, udp
socket
Dazzle Async Socket
Stars: ✭ 19 (-85.04%)
Mutual labels:  socket, tcp, udp
KingNetwork
KingNetwork is an open source library to facilitate the creation and communication of clients and servers via TCP, UDP, WebSocket and RUDP sockets.
Stars: ✭ 78 (-38.58%)
Mutual labels:  socket, tcp, udp
Yasio
A multi-platform support c++11 library with focus on asio (asynchronous socket I/O) for any client application.
Stars: ✭ 483 (+280.31%)
Mutual labels:  tcp, socket, udp
Socket
The Hoa\Socket library.
Stars: ✭ 61 (-51.97%)
Mutual labels:  socket, tcp, udp
DatagramTunneler
Simple C++ cross-platform client/server app forwarding UDP datagrams through a TCP connection.
Stars: ✭ 116 (-8.66%)
Mutual labels:  socket, tcp, udp
Simplenetwork
simple TCP server / client C++ linux socket
Stars: ✭ 225 (+77.17%)
Mutual labels:  simple, tcp, socket
Go Netstat
A netstat implementation written in Go
Stars: ✭ 121 (-4.72%)
Mutual labels:  tcp, socket, udp
Hp Socket
High Performance TCP/UDP/HTTP Communication Component
Stars: ✭ 4,420 (+3380.31%)
Mutual labels:  tcp, socket, udp
RRQMSocket
TouchSocket是.Net(包括 C# 、VB.Net、F#)的一个整合性的、超轻量级的网络通信框架。包含了 tcp、udp、ssl、http、websocket、rpc、jsonrpc、webapi、xmlrpc等一系列的通信模块。一键式解决 TCP 黏分包问题,udp大数据包分片组合问题等。使用协议模板,可快速实现「固定包头」、「固定长度」、「区间字符」等一系列的数据报文解析。
Stars: ✭ 286 (+125.2%)
Mutual labels:  socket, tcp, udp
Goproxy
🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
Stars: ✭ 11,334 (+8824.41%)
Mutual labels:  tcp, socket, udp
gnb udp over tcp
gnb_udp_over_tcp 是一个为GNB开发的通过tcp链路中转UDP分组转发的服务
Stars: ✭ 32 (-74.8%)
Mutual labels:  socket, tcp, udp
T Io
解决其它网络框架没有解决的用户痛点,让天下没有难开发的网络程序
Stars: ✭ 1,331 (+948.03%)
Mutual labels:  tcp, socket, udp
AndroidNetMonitor
This project aims to collect and analyze traffic information of Android.(采集手机发送和接收的报文简要信息,并且根据socket记录每个报文对应哪个手机app)
Stars: ✭ 25 (-80.31%)
Mutual labels:  socket, tcp, udp
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (-47.24%)
Mutual labels:  socket, tcp, udp
Pypacker
📦 The fastest and simplest packet manipulation lib for Python
Stars: ✭ 216 (+70.08%)
Mutual labels:  tcp, socket, udp
Ssokit Qmake
A Simple & Strong Tool for TCP&UDP Debug
Stars: ✭ 231 (+81.89%)
Mutual labels:  tcp, socket, udp
Netcat
💻 Netcat client and server modules written in pure Javascript for Node.js.
Stars: ✭ 315 (+148.03%)
Mutual labels:  tcp, socket, udp
Elixir Socket
Socket wrapping for Elixir.
Stars: ✭ 642 (+405.51%)
Mutual labels:  tcp, socket, udp

Asynchronous Sockets for C++

Simple, thread-based, non-blocking asynchronous Client-Server classes in C++ for TCP & UDP.

// Initialize a tcp socket.
TCPSocket tcpSocket;

// Connect to the host.
tcpSocket.Connect("127.0.0.1", 8888, [&] {
    cout << "Connected to the server successfully." << endl;

    // Send String:
    tcpSocket.Send("Hello Server!");
});

Super Easy!

CPU & RAM Usages (with single tcp connection & with single udp server + client): Lightweight

Lightweight!

Examples:

Examples You can compile all the examples by just going in the examples/ directory and run make in terminal:

Future TO-DOs:

  • Add Windows support (the library is only for *nix based systems like Linux & MacOS.)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].