A simple Internet Relay Chat (IRC) protocol by which clients can communicate with each other.
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.
Clone the repository:
[email protected]:carissaallen/irc.git
Build the application:
mvn clean verify
- Start the server:
Run 'Server.main()'
- Enter a valid port number and click "Start Server"
- Start the client:
Run 'Client.main()'
- Enter a username and click "Connect to Server"
- 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.
- JDK 11
- Maven
Testing was not implemented for this iteration.
The RFC document was based on this example provided by the instructor.
-
Mack Cooper - @mackkcooper
-
Carissa Allen - @carissaallen
Distributed under the MIT License. See LICENSE for more information.