LanComm is a lightweight Java-based LAN chat system with a simple graphical interface. It allows users to communicate within the same local network — no internet required.
LanComm/
├── com.lancomm.client/ → Client-side logic
├── com.lancomm.server/ → Server-side logic
├── com.lancomm.shared/ → Shared constants and definitions
└── com.lancomm.ui/ → Java Swing GUI
- Real-time chat over a local network
- Clean and intuitive graphical interface
- Multi-threaded server to handle multiple clients
- Fully offline – no internet needed
-
Ensure all users are connected to the same local network (e.g., same Wi-Fi or router).
-
Start the server
Run the main class:com.lancomm.server.ServerOnly one server instance is required.
-
Start a client
Run the main class:com.lancomm.ui.AppThis will open the login window and connect to the server.
-
To simulate additional users
Just runcom.lancomm.ui.Appagain in a new terminal or on another device.
- The server must be started first, but only once.
- Clients can join and leave at any time.
- Useful in offline environments such as classrooms, workshops, and demos.
MIT © 2025 hejunjiecao

