Skip to content

Latest commit

 

History

637 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IRC

Internet Relay Chat Server that can connect with IRC Clients like Irssi.


Environment

Develop Environment

Supported OS

  • macOS

Recommend IRC Client

  • irssi

Installation

git clone https://github.com/minishell-yecseo/IRC && cd IRC && make -j && make clean

Usage

Run Server

./ircserv [port] [password]

If success, you can see the server information like below
IRC server:Happy started at 0.0.0.0 :: 9090

But when you got `no such file or directory: ./ircserv` error message, try to find `IRC` directory and then run `./ircserv [port] [password]` again.
cd "$(find ~/ -name "IRC" 2>/dev/null | head -n 1)" && ./ircserv [port] [password]

Test

We're testing this project with our own test set that contains Request Test, Response Test, Command Unit Test, etc.
If you execute the test binary file made by command line below, The ircserv_test will test the source code automatically and let you know about the test results.

Build & Run Test

make test -j && ./ircserv_test

Structure

Repository structure

┌── Makefile
├── Makefile_Test
├── Makefile_Variable
├── README.md
├── Test
│   ├── main.cpp
│   └── (...)
└── source
    ├── main.cpp
    ├── Client.cpp
    ├── Command.cpp
    ├── Mutex.cpp
    ├── NumericDefine.hpp
    ├── Request.cpp
    ├── Response.cpp
    ├── Server.cpp
    ├── ThreadPool.cpp
    ├── Channel.cpp
    ├── Utils.cpp
    ├── log.cpp
    ├── main.cpp
    ├── ircserv.h
    ├── *.hpp (headers)
    └── command
        ├── *Command.cpp
        └── *Command.hpp

👥 Developers

  • 김우석(Wooseok Kim)
  • 서상민(Sangmin Seo)

About

Internet Relay Chat

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages