Skip to content

theovgl/ft_irc

 
 

Repository files navigation

Compilation Tests License Version Irssi

ft_irc

Build

The main project and tests are buildable using the make command.

You can also use the Dockerfile as follows:

docker build -t irc_build .

# Project
docker run -it -v $PWD:$PWD --workdir $PWD irc_build make
docker run -it -v $PWD:$PWD --workdir $PWD irc_build ./ircserv <port> <password>

# Tests
docker run -it -v $PWD:$PWD --workdir $PWD irc_build make -C test
docker run -it -v $PWD:$PWD --workdir $PWD irc_build ./test/test.out

Debugging

To debug the network exchanges, you can use the tcpdump.Dockerfile (after following the Build steps).

docker build -t irc_tcpdump -f tcpdump.Dockerfile .
docker run -it -v $PWD:$PWD --workdir $PWD -p 6667:6667 irc_tcpdump ./ircserv 6667 password

Usage

Our IRC server was designed to comply with irssi 1.2.3-1ubuntu4 (20210409 0011).

Contributors

About

School project : Internet Relay Chat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 99.5%
  • Other 0.5%