This project is a simple implementation of an IRC (Internet Relay Chat) server, developed as part of the École 42 curriculum. The server allows multiple clients to connect, join channels, and communicate with each other in real-time.
- Supports multiple clients and channels.
- Basic IRC commands:
/NICK <nickname>: Set or change your nickname./JOIN <channel>: Join or create a channel./PART <channel>: Leave a channel./PRIVMSG <target> <message>: Send a message to a user or channel./QUIT: Disconnect from the server.
- Handles client connections and disconnections gracefully.
- Lightweight and easy to set up.
- A Unix-based system (Linux or macOS).
- GCC or Clang for compilation.
- Basic knowledge of sockets and networking.
- Clone the repository:
git clone https://github.com/your-username/42-irc-server.git
- Navigate to the project directory:
cd 42-irc-server
- Compile the server:
make
./ircserv <port> <password>