All Projects → starwing → Znet

starwing / Znet

Licence: mit
A C network library

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Znet

Network Engine
This role provides the foundation for building network roles by providing modules and plugins that are common to all Ansible Network roles.
Stars: ✭ 108 (-10%)
Mutual labels:  network
Justniffer
Justniffer Just A Network TCP Packet Sniffer .Justniffer is a network protocol analyzer that captures network traffic and produces logs in a customized way, can emulate Apache web server log files, track response times and extract all "intercepted" files from the HTTP traffic
Stars: ✭ 115 (-4.17%)
Mutual labels:  network
Libtins
High-level, multiplatform C++ network packet sniffing and crafting library.
Stars: ✭ 1,609 (+1240.83%)
Mutual labels:  network
Interview Problem Summary
🎤 Prepare for the interviews and sum up the most popular interview problems for front-end(HTML/CSS/Javascript), Web development, full-stack. Also did some typical coding practice questions, such as UI caculator
Stars: ✭ 112 (-6.67%)
Mutual labels:  network
Netcopa
Network Configuration Parser
Stars: ✭ 112 (-6.67%)
Mutual labels:  network
Fi6s
IPv6 network scanner designed to be fast
Stars: ✭ 116 (-3.33%)
Mutual labels:  network
Lionengine
Java 2D Game Engine
Stars: ✭ 106 (-11.67%)
Mutual labels:  network
Volley
Volley is a benchmarking tool for measuring the performance of server networking stacks.
Stars: ✭ 119 (-0.83%)
Mutual labels:  network
Dns Discovery
DNS-Discovery is a multithreaded subdomain bruteforcer.
Stars: ✭ 114 (-5%)
Mutual labels:  network
Ddn
DDN, Data Delivery Network, a next generation blockchain system
Stars: ✭ 118 (-1.67%)
Mutual labels:  network
React Native Tcp Socket
React Native TCP socket API for Android, iOS & macOS with client SSL/TLS support
Stars: ✭ 112 (-6.67%)
Mutual labels:  network
Nfsen Ng
Responsive NetFlow visualizer built on top of nfdump tools.
Stars: ✭ 112 (-6.67%)
Mutual labels:  network
Napalm Salt
Modules for event-driven network automation and orchestration using Salt
Stars: ✭ 116 (-3.33%)
Mutual labels:  network
Autobahn Java
WebSocket & WAMP in Java for Android and Java 8
Stars: ✭ 1,467 (+1122.5%)
Mutual labels:  network
Dripcap
☕️ Caffeinated Packet Analyzer
Stars: ✭ 1,510 (+1158.33%)
Mutual labels:  network
Libqtshadowsocks
A lightweight and ultra-fast shadowsocks library written in C++14 with Qt framework
Stars: ✭ 1,455 (+1112.5%)
Mutual labels:  network
Scilla
🏴‍☠️ Information Gathering tool 🏴‍☠️ DNS / Subdomains / Ports / Directories enumeration
Stars: ✭ 116 (-3.33%)
Mutual labels:  network
Ntc Netbox Plugin Onboarding
A plugin for NetBox to easily onboard new devices.
Stars: ✭ 120 (+0%)
Mutual labels:  network
Networkingexample
Write a Networking Layer in Swift 4 using Alamofire 5 and Codable
Stars: ✭ 119 (-0.83%)
Mutual labels:  network
Cpp Bredis
Boost::ASIO low-level redis client (connector)
Stars: ✭ 117 (-2.5%)
Mutual labels:  network

znet - a simple C network library

This library is inspired by Yawei Zhang's ZsummerX1 library, but this one is a pure C version. Now it implement a IOCP (IO Completion Port) backend on Windows, and a epoll backend on Linux, a kqueue backend on BSD and Mac OS X systems, and select backend for others.

The ZNet library itself is a single-header library2, and have some utils single-header libraries for common usages. all liraries are standalone and can used without other headers.

See test.c for examples, and you can see more things in examples folder.

Utils:

zn_buffer.h: mainly based the luaL_Buffer in Lua code. But the interface is targeted by send/recv method, so it's very useful to make znet send data continually and receive packets by packets.

zn_deque.h: a double-direct pipe implement that can be used a queue or stack cross threads. it implements block API like push/pop from deque, and non-block API to fetch the front and back items from deque.

zn_task.h: a task thread pool implement. you can create a task pool and post tasks to pool, task will run in other thread, you can use zn_deque.h to notice original thread the completion of tasks.

The znet library and utils have the same license when Lua3, have fun :)

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].