How etambele/simple-udp-client-server works
This is a small Java UDP demonstration. Its main workflow starts a client and server on separate executor threads: the client binds port 50001 and waits for datagrams, while the server sends three messages to that port. The excerpts show the launcher and each endpoint, but do not directly establish the cross-class connection, so that data-flow edge is marked unverified.
Main entry points: Udp.java UDP launcher · server.java UDP sender · client.java UDP receiver
Components 3
Other components
- UDP launcher
src/udp/Udp.java - UDP sender
src/udp/server.java - UDP receiver
src/udp/client.java
Connections 3
- UDP launcher → UDP sender: submits task
src/udp/Udp.java - UDP launcher → UDP receiver: submits task
src/udp/Udp.java - UDP sender → UDP receiver: sends datagrams