A peer-to-peer (P2P) chat application built in C# as part of the 725G66 course at Linköping University.
- Direct peer-to-peer communication
- Users connect directly to each other.
- Support for multiple connections
- Connect and communicate with multiple peers simultaneously.
- User-friendly UI
- A simple and intuitive interface.
- Operating System: Windows
- .NET Version: .NET 9.0 or higher
-
Clone the repository:
git clone https://github.com/leodiazsanchez/725G66.git cd 725G66/ChatApp -
Build the application: Open the solution file in Visual Studio or use the .NET CLI:
dotnet build
-
Run the application:
dotnet run
- Launch the application.
- Enter your username and the port number you wish to use.
- Share your IP and port number with other users to connect.
- Use the interface to send messages.
- Networking: Utilizes
TcpListenerandTcpClientfor socket communication. - Multithreading: Uses
Taskto handle multiple connections and operations simultaneously. - Serialization: Messages are serialized and deserialized using JSON for easy communication.