/Multi-Client-Chat

Simple Multi-Client-Chat application created by Adam Hącia and Marcin Krupiński for Computer Network classes. The server is written in C and client application is written in C# using WinForms.

Primary LanguageC#

Multi-Client-Chat 2021

Simple Multi-Client-Chat application created by Adam Hącia and Marcin Krupiński for Computer Network classes. The server is written in C and client application is written in C# using WinForms.

Table of contents

Screenshots

Client

Example screenshot Example screenshot

Server

Example screenshot

Technologies

  • C#
  • WinForms
  • C
  • BSD Sockets written in C

Setup

Server

  1. Check your IP address with ifconfig command (Linux or MacOs)

Example screenshot

  1. Compile server.c file with gcc -o server server.c

  2. Run with ./server

Example screenshot

Client

  1. Open Messenger.sls in Visual Studio
  2. Open Connection.cs and in 16 line change IP address to one given by server
public static IPAddress ip = IPAddress.Parse("192.168.1.51");
  1. Run app
  2. Choose your name and click Connect

Example screenshot

  1. Check if anybody is online by refreshing the app

Example screenshot

  1. If anyone is online you can click Chat and start texting with them
  2. Type your message to send it to your friends or browse files and send it to the server

Example screenshot Example screenshot

Features

  • Text with your group of friends
  • Upload files to server

Status

Project is: completed

Inspiration

We wanted to create a simple communicator with option to send files via network

Contact

Created by @HondaPL and @SmoothCrimminal

2021