carissaallen / irc

Internet Relay Chat (IRC) network application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Internet Relay Chat

A simple Internet Relay Chat (IRC) protocol by which clients can communicate with each other.

Build Status

This communication system employs a central server which relays messages to other connected users. Users can join rooms, which are groups of users that are subscribed to the same message stream. Any message sent to that room is forwarded to all users currently joined to that room.

Users can also send private messages directly to other users.

Install & Run

Clone the repository:

git@github.com:carissaallen/irc.git

Build the application:

mvn clean verify

Run

  1. Start the server: Run 'Server.main()'
  2. Enter a valid port number and click "Start Server"
  3. Start the client: Run 'Client.main()'
  4. Enter a username and click "Connect to Server"
  5. To connect multiple clients to the server, repeat Steps 3-4.

Note: If you're running this application in IntelliJ, go to Edit Configuration, and make sure "Allow parallel run" is checked in order to connect multiple clients to the server.

Technology

  • JDK 11
  • Maven

Testing

Testing was not implemented for this iteration.

Credits

The RFC document was based on this example provided by the instructor.

Built By

License

Distributed under the MIT License. See LICENSE for more information.

About

Internet Relay Chat (IRC) network application

License:MIT License


Languages

Language:Java 100.0%