This is IRC-Server written on C++ language using standart of RFC1459. This allows you to connect to the server by netcat or any instant messaging client that supports multiple IM networks (Adium for example)
- Clone the repo
git clone https://github.com/divinepet/irc_server
- Compile the project
make
- Launch the server passing Port and Password for the server as a parameters
./ircserv 8000 1234
Now, you need to connect to the server. You can use netcat passing the server-ip and port in arguments like:
nc localhost 8000
If you are using Adium, you need to choose Irc-Server, create new client and fill out all the fields of the server settings
With nc client you should write three comamnds:
PASS server_password
NICK nickname
USER name host servername realname # (it could be any values, it doesn't matter)
To write someone a message, use command PRIVMSG .
PRIVMSG john :hello there!
Other commands and usage can be find by the link: https://datatracker.ietf.org/doc/html/rfc1459