https://github.com/gamemann/udp-ping
A UDP Client/Server implementation for pinging. Using for benchmarking.
https://github.com/gamemann/udp-ping
c client interval linux ping server socket timeout udp
Last synced: 11 months ago
JSON representation
A UDP Client/Server implementation for pinging. Using for benchmarking.
- Host: GitHub
- URL: https://github.com/gamemann/udp-ping
- Owner: gamemann
- Created: 2021-01-05T05:46:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T22:46:23.000Z (about 5 years ago)
- Last Synced: 2025-02-28T12:30:28.767Z (12 months ago)
- Topics: c, client, interval, linux, ping, server, socket, timeout, udp
- Language: C
- Homepage: https://moddingcommunity.com/
- Size: 6.84 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UDP Ping
## Description
A simple C client/server implementation over UDP aimed to calculate latency and packet loss. Will be using this with future benchmarks I make.
## Client
The client (`ping`) supports the following arguments:
```
--dest -d => The destination host/IP to send to.
--port -p => The destination port.
--timeout -t => How much time to wait after the packet to be sent out before considering it a timeout if it doesn't make it back (in microseconds).
--interval -i => After packet receive, how long to wait in microseconds.
--verbose -v => Verbose mode.
```
## Server
The server (`server`) supports the following arguments:
```
--port -p => The port to bind to.
--verbose -v => Verbose mode.
```
## Credits
* [Christian Deacon](https://github.com/gamemann)