2017 © Pedro PelĂĄez
 

library osf-irc

Simple telnet IRC server

image

osflab/osf-irc

Simple telnet IRC server

  • Tuesday, January 30, 2018
  • by Guillaume Ponçon
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Telnet IRC Server

A simple IRC server which uses telnet as client., (*1)

Requirements

  • PHP7.1 or more
  • The pcntl extension
  • composer

Requirements installation on debian/ubuntu:, (*2)

sudo add-apt-repository -y ppa:ondrej/php
sudo apt update -y
sudo apt install php7.1-cli composer

Installation

composer create-project --prefer-dist osflab/osf-irc osf-irc

Usage

To start the server:, (*3)

php ./osf-irc/bin/irc-run.php [host_or_ip]

Replace [host_or_ip] by the address of the network device to bind. If you do not specify this value, the server may bind to localhost, you will not be able to use it from a remote machine., (*4)

For each client:, (*5)

  • In a new terminal, type telnet <hostname> 9999 (replace <hostname> by yours)
  • Enter your name + [enter]: a number is displayed
  • Open a new terminal and type telnet <hostname> 9999 again
  • Enter the number

You can use the first terminal for reading and the second one to write. Repeat this for each client., (*6)

Additional information

Originally, this component is a demonstration of developing a deamon with PHP, using the pcntl extension. It addresses process management concepts, semaphores and network sockets., (*7)

The Versions

30/01 2018

dev-master

9999999-dev http://www.openstates.com

Simple telnet IRC server

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.0
  • ext-pcntl *

 

by Avatar Guillaume Ponçon

29/01 2018

v3.0.0

3.0.0.0 http://www.openstates.com

Simple telnet IRC server

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.0
  • ext-pcntl *

 

by Avatar Guillaume Ponçon

29/01 2018

dev-irc-fr

dev-irc-fr http://www.openstates.com

Simple telnet IRC server

  Sources   Download

AGPL-3.0-or-later

The Requires

  • php ^7.1.0
  • ext-pcntl *

 

by Avatar Guillaume Ponçon