Apartment Communication Project Summary
Apartment Communication is a system that enables residents of an apartment complex to chat with each other and access real-time exchange rate and weather information. Developed in C# using a client-server architecture, each resident runs a client application on their computer which connects to a central server. The server manages chat communications and periodically fetches weather and currency data from external APIs to broadcast to all connected clients.
Technical Structure
- Language & Libraries: C#, .NET Framework, System.Net, System.Text, Newtonsoft.Json
- Networking: Uses TCP with TcpListener and TcpClient for socket communication.
- Threading: Each client connection is handled on a separate thread.
- Data Exchange: Messages and API data are exchanged as byte arrays encoded in ASCII.
- Real-Time Data: Weather and currency data are periodically fetched and updated.
- Interface: Built using Windows Forms for a user-friendly GUI.
Features
- Real-time chat between residents
- Live exchange rate and weather tracking
- Support for multiple clients simultaneously
- Simple and intuitive user interface
- Reliable with proper testing and debugging processes
This project enhances communication and access to useful daily information for apartment residents in a practical and efficient way.
project link: github