Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lovelaced/udp_c
UDP client and server in C with threaded echoing
https://github.com/lovelaced/udp_c
Last synced: 6 days ago
JSON representation
UDP client and server in C with threaded echoing
- Host: GitHub
- URL: https://github.com/lovelaced/udp_c
- Owner: lovelaced
- Created: 2015-12-09T08:51:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-18T00:18:15.000Z (about 9 years ago)
- Last Synced: 2024-12-06T21:27:43.842Z (25 days ago)
- Language: C
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# udp_c
UDP client and server in C with threaded echo receptionThe blaster should be invoked in the following way:
__blaster -s \ -p \ -r \ -n \ -q \ -l \ -c \__
* hostname is the hostname of the blastee,
* port is the port on which the blastee is running,
* rate is the number of packets to be sent per second,
* num is the number of packets to be sent by the blaster,
* seq_no is the initial sequence of the packet exchange,
* length is the length of the variable payload in bytes in the packets, and
* echo parameter tells the blaster if it should expect the echo of its packet from the blastee. Values 1 (expect echo) and 0 (no echo) are valid for this parameter.The blastee receives the packets which the blaster has sent. It should be invoked in the following way:
__blastee -p \ -c \__
* port is the port on which the user wants to run blastee, and
* echo parameter tells the blastee if it should echo back the packet that it received to the blaster. Values 1 (echo back) and 0 (no echo) are valid for this parameter.