This project implements an Internet Relay Chat (IRC) server in C++. The goal is to understand the fundamentals of network programming, socket communication, and the IRC protocol.
- User authentication
- Channels and messaging
- Operator privileges
- Basic IRC commands (/join, /nick, /msg, /kick, etc.)
- Make
- C++
make- /nick : Change nickname
- /user : Register user
- /join <#channel>: Join a channel
- /part <#channel>: Leave a channel
- /privmsg :: Send a private message
- /quit :: Disconnect from the server
- /kick <#channel> : Kick a user from a channel (operator only)
./ircserv <port> <password>Example:
./ircserv 1234 mypassword- Connect using Netcat:
nc 127.0.0.1 1234- Register with the server:
PASS password
NICK mynickname
USER myusername 0 * :Real Name- Join a channel:
JOIN #mychannel- Send a message:
PRIVMSG #mychannel :Hello, IRC!- Quit:
QUIT :Goodbye!