Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/demkeys/lazydatatransfer
Lazy method to transfer upto 64kb of data over the network using UDP
https://github.com/demkeys/lazydatatransfer
data data-trans network python transfer udp
Last synced: 5 days ago
JSON representation
Lazy method to transfer upto 64kb of data over the network using UDP
- Host: GitHub
- URL: https://github.com/demkeys/lazydatatransfer
- Owner: Demkeys
- License: mit
- Created: 2024-03-13T11:08:07.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T11:18:08.000Z (8 months ago)
- Last Synced: 2024-03-13T12:31:00.128Z (8 months ago)
- Topics: data, data-trans, network, python, transfer, udp
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LazyDataTransfer
Lazy script to send/recv upto 64kb of data over the network using UDP. This is script doesn't have any validation logic so make sure you are providing the arguments properly, otherwise the behaviour is undefined. This is a very lazy method and should only be used if you're ok with UDP's unreliability. And it's mainly meant for small pieces of data.In 'send' mode ip address must be address of target machine. In 'recv' mode the ip address must be address of host machine.
## Usage:
* Arg 1: mode (send/recv)
* Arg 2: file name
* Arg 3: address (ip address:port)## Example:
```python data_transfer.py send text01.txt 192.168.8.103:9510```