https://github.com/limitedeternity/autoconnectdemo
Demonstration of automatic connection establishment between client and server on local network
https://github.com/limitedeternity/autoconnectdemo
autoconnect backconnect rust tcp udp udp-broadcast
Last synced: 10 months ago
JSON representation
Demonstration of automatic connection establishment between client and server on local network
- Host: GitHub
- URL: https://github.com/limitedeternity/autoconnectdemo
- Owner: limitedeternity
- License: mit
- Created: 2020-06-01T14:47:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T15:11:40.000Z (about 6 years ago)
- Last Synced: 2025-03-14T13:21:25.615Z (about 1 year ago)
- Topics: autoconnect, backconnect, rust, tcp, udp, udp-broadcast
- Language: Rust
- Size: 76.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AutoConnectDemo
> Demonstration of automatic connection establishment between client and server on local network
## Screenshot

## What's going on?
Both client and server are written in Rust.
Server runs a periodic UDP broadcast (to disclose its IP address for clients on local network) and a web-server simultaneously.
Client recieves UDP-broadcasted message, verifies it, looks up the source of this message and initiates a TCP connection to the looked up source. Client connects to a web-server and recieves "Hello, World!" from it.
## Meta
Distributed under the MIT license. See ``LICENSE`` for more information.
[@limitedeternity](https://github.com/limitedeternity)