Here is the ft_irc project wroted by acroisie and I.
The goal of this project is to achieve a basic irc server in C++.
- Manage multiple connections without fork
- Use
poll()
or equivalent (we useselect()
) to manage multiple clients interaction - Set socket to non-blocking mode
- Authentify by nickname and password
- Manage channel gestion
- Get operator status/commands
Make && ./ircserv <port> <password>
/server add <server_name> <localhost>/<port> -password=<password>
/connect <server_name>
You are now connected to the server!
/join #channel_name
/topic <topic_name>
/msg <name>
/notice #channel_name
/mode <+o> <name> #mode list : +o, -o, +i, -i, +k, -k;
/kick <name>
/ban <name>
/invite <name>
/nick <new_nickname>
/leave