承接 osflab/osf-irc 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

osflab/osf-irc

Composer 安装命令:

composer require osflab/osf-irc

包简介

Simple telnet IRC server

README 文档

README

A simple IRC server which uses telnet as client.

Requirements

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

Requirements installation on debian/ubuntu:

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:

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.

For each client:

  • 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.

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.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2018-01-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固