Skip to content

Internet Relay Chat or IRC is a text-based communication protocol on the Internet.

Notifications You must be signed in to change notification settings

AllanDantas21/my_irc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

169 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FT_IRC

Link RFC ref

RFC-2812

Study Links

Studies

Command Documentation

HexChat Commands

Terminal Commands

Introduction

ft_irc is a project for the 42 curriculum that involves creating an IRC (Internet Relay Chat) server. The goal of this project is to understand the basics of network programming and the IRC protocol.

Features

  • Handle multiple clients simultaneously
  • Support for basic IRC commands (NICK, USER, JOIN, PART, PRIVMSG, etc.)
  • Channel management
  • User authentication
  • Message broadcasting

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/allandantas21/ft_irc.git
    cd ft_irc
  2. Build the project:

    make
  3. Run the server:

    ./ircserv <port> <password>

Usage

  1. Connect to the server using an IRC client (e.g., nc -> Netcat):

    /nc <localhost> <port>
  2. For detailed commands, see the terminal commands documentation.

Project Structure

  • incs/ - Header files
  • srcs/ - Source code files
  • main.cpp - main source
  • Makefile - Build script

Authors

About

Internet Relay Chat or IRC is a text-based communication protocol on the Internet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages