Server to host a chat.
- Everything happens in the terminal. No graphic interface
- Check if you have Netcat. Terminal: nc. To install: brew install netcat
- To connect: nc localhost
- NOTE : localhost -> system preference/network -> IP adress
HOW TO WRITE THE COMMAND IN NETCAT. Don't forget CTRL-VM before ENTER PASS CTRL-VM before ENTER USER * * CTRL-VM before ENTER NICK CTRL-VM before ENTER
JOIN #chanName CTRL-VM before ENTER PART #chanName CTRL-VM before ENTER ->quit a channel QUIT CTRL-VM before ENTER ->quit the server
PRIVMSG <#chanName> : CTRL-VM before ENTER PRIVMSG : CTRL-VM before ENTER
INVITE <#chanName> CTRL-VM before ENTER KICK #chanName CTRL-VM before ENTER
TOPIC <#chanName> CTRL-VM before ENTER TOPIC <#chanName> CTRL-VM before ENTER **so everyone can know the topic of the channel at anytime.
MODE: MODE <#chanName> +i CTRL-VM before ENTER ->to set the channel to INVITE ONLY MODE <#chanName> +t CTRL-VM before ENTER ->to protect the topic of the channel. So no one changes it MODE <#chanName> -t CTRL-VM before ENTER ->to unprotect the topic of the channel MODE <#chanName> +k CTRL-VM before ENTER ->to set a password with the chan MODE <#chanName> -k CTRL-VM before ENTER ->to unset the password of the chan MODE <#chanName> +o CTRL-VM before ENTER ->to give privileges of chanOp to someone MODE <#chanName> -o CTRL-VM before ENTER ->to take those privileges away MODE <#chanName> +l CTRL-VM before ENTER ->to set a limit of members to a channel MODE <#chanName> -l CTRL-VM before ENTER ->to unset the limit of members for a chan
Make sure that ALL the command are typed in the log window(where is the "conversation" with the server)
At School ---> Get LimeChat IRC Client Ouvre Limechat-> server/serverproperties/
Network name : irc42 server : localhost Port: 6666
Nickname : al Login: al or whatever you want Real name : al or whatever you want
Dans le terminal (apres le make) : ./ircserv 6667 1234