https://github.com/ryanashcraft/file-transfer
TCP/UDP client/server suite.
https://github.com/ryanashcraft/file-transfer
Last synced: 3 months ago
JSON representation
TCP/UDP client/server suite.
- Host: GitHub
- URL: https://github.com/ryanashcraft/file-transfer
- Owner: ryanashcraft
- Created: 2013-04-03T20:10:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-03T20:16:46.000Z (over 13 years ago)
- Last Synced: 2025-03-11T00:36:46.285Z (over 1 year ago)
- Language: C
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TCP/UDP File Transfer Suite
`make all` generates four binaries in the `bin` directory: tcpserver, tcpclient, udpserver, and udpclient. Each have the same required runtime arguments: the input/output filename, the IP address (to bind or connect to), and the port number (again to bind or connect to).
## Examples
### TCP Server
./bin/tcpserver received_photo.png 127.0.0.1 8000
### TCP Client
./bin/tcpclient photo.png 127.0.0.1 8000
### UDP Server
./bin/udpserver received_photo.png 127.0.0.1 8000
### UDP Client
./bin/udpclient photo.png 127.0.0.1 8000