Skip to content

Basic IRC server written in C++. 42 Madrid cursus project.

Notifications You must be signed in to change notification settings

karisti/42_ft_irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_ft_irc

Demo image

Description

This project is a basic IRC Server following the IRC protocol details. We will discover how to create a server with C++, receive connections, and do it on a non-blocking manner without using threads for it. Developed by @gpernas- and @karisti-.

Lessons

  • IRC protocol
  • Sockets
  • Non-blocking fcntl
  • Kqueue
  • Buffer management

Prerequisites

  • IRC client (CIRC tested)

Usage

  • Run make && ./ircserv <SERVER_PORT> <SERVER_PASSWORD>
  • Connect from client. From CIRC: /server <SERVER_IP> <SERVER_PORT> <SERVER_PASSWORD>

Resources