Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruk33/asocket
https://github.com/ruk33/asocket
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ruk33/asocket
- Owner: Ruk33
- License: mit
- Created: 2022-07-22T12:24:55.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T04:25:48.000Z (about 1 year ago)
- Last Synced: 2023-11-02T03:20:49.969Z (about 1 year ago)
- Language: C
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
README
ASOCKET
simple async socket for ipv4 (listening to localhost setting
a port) or sock (ie, mysock.sock, only linux)NOTES
- no heap memory is allocated.
- only listens to localhost.
- listening on sock partial support, just for linux at the moment.
- windows was lazily made, it could be incorrect.INSTALLATION
- copy asocket.h and asocket_windows.c or asocket_linux.c to your project.
- check build.sh for linux and build.bat for windows.HOW TO USE IT
check main.c for a simple http server example.
use the stress.sh script to test the server under
heavy load.