Skip to content

πŸ’» IRC-Communicator project for Computer Networks at Poznan University of Technology

Notifications You must be signed in to change notification settings

filipciesielski7/IRC-Communicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

IRC-Communicator πŸ’»

Also available in: Polski

About

IRC-Communicator project for Computer Networks at Poznan University of Technology. The application implements a text-based chat system, which is designed for group communication in discussion forums, called channels, but also allows one-on-one communication.

GUI

The main goal of this project was to implement IRC-Communicator TCP server in C and Java client through which the user can join the room, create a new room, send message in the room, receive messages from other users in the room, leave the room or remove other users from the own room. Client GUI was implemented using JavaFX.

Folder Structure

PROJECT_FOLDER
β”‚  README.md
β”‚  README.pl.md
└──[src]
    └──[server]
    β”‚  └── server.c # Server implemented in C
    └──[client]
        β”‚  pom.xml
        └──[src/main]
            └──[java] # Client implemented in Java
            └──[resources/com/example/client]
                └── client.fxml # JavaFX

Getting Started

Server

  1. Clone the repo
    git clone https://github.com/filipciesielski7/IRC-Communicator.git
  2. Navigate into the server directory
    cd src/server
    
  3. Run this command to compile server:
    gcc -pthread server.c -o server -Wall
    
  4. After server is compiled you can now run it using:
    ./server <port number> lub ./server (by default port 1234).
    

Client

The project is a standard Maven project. To run it from the command line, type mvn clean javafx:run in src/client directory or import the project to your IDE of choice as you would with any Maven project and run it using Java 17.

Contributors