Skip to content

Releases: anhduckkzz/Computer-Network-Assignment

Assignment 1 – P2P File Sharing Executables (Server & Client)

09 Nov 13:30

Choose a tag to compare

This release bundles the Tkinter-enabled server and client as standalone Windows executables so you can demo the assignment without Python installed. Both apps now use SQLite for metadata, auto-manage client identities, and suppress the noisy shared-files polling logs for a cleaner UI.

Included:

  • server.exe – windowed build that launches the server UI automatically (uses p2p_metadata.db beside the exe; CLI fallback still available with --no-ui).
  • client.exe – windowed build with auto-incremented <port>/<name> pairs (1111/a, 2222/b, …). Double-click to spin up new clients; runs in CLI mode with --cli if needed.

Tips:

  1. Start server.exe first; it creates/opens p2p_metadata.db.
  2. Launch as many client.exe instances as you want. Publish files to populate the shared list (refreshes every ~5 s).
  3. If you want to reset the auto identity counter, run client.exe --reset-state once (or delete client_launch_state.json).

See exe/README.md for advanced flags, PyInstaller commands, and troubleshooting notes.