All Projects → cryhac → socket-service

cryhac / socket-service

Licence: MIT license
No description or website provided.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to socket-service

ExpressJS-SocketIO-Boilerplate
📦 Simple Express.js & Socket.io Boilerplate
Stars: ✭ 31 (+72.22%)
Mutual labels:  socket-server
workerman
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols. PHP>=5.4.
Stars: ✭ 10,005 (+55483.33%)
Mutual labels:  socket-server
sockerl
Sockerl is an advanced Erlang/Elixir socket framework for TCP protocols and provides fast, useful and easy-to-use API for implementing servers, clients and client connection pools.
Stars: ✭ 26 (+44.44%)
Mutual labels:  socket-server
firestarter
Firestarter: A process and shared socket manager
Stars: ✭ 63 (+250%)
Mutual labels:  socket-server
aioudp
Asyncio UDP server
Stars: ✭ 21 (+16.67%)
Mutual labels:  socket-server
zeeka
Secure global file sharing using tcp tunnels. Currently tunneling through localtunnel's public servers. Zeeka dedicated servers coming soon.
Stars: ✭ 21 (+16.67%)
Mutual labels:  socket-server
go-eventserver
A socket server which reads events from an event source and forwards them to the user clients when appropriate
Stars: ✭ 18 (+0%)
Mutual labels:  socket-server
UltimaPHP
A modern Ultima Online server written in PHP
Stars: ✭ 123 (+583.33%)
Mutual labels:  socket-server
SuperSocketLite
SuperSocket 1.6 버전의 .NET Core 포팅
Stars: ✭ 48 (+166.67%)
Mutual labels:  socket-server
Oksocket
An blocking socket client for Android applications.
Stars: ✭ 2,359 (+13005.56%)
Mutual labels:  socket-server
Workerman
An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols. PHP>=5.3.
Stars: ✭ 9,617 (+53327.78%)
Mutual labels:  socket-server
edu cpp IOCP
IOCP 실습
Stars: ✭ 49 (+172.22%)
Mutual labels:  socket-server
as2-server
A standalone Java AS2 server - see as2-lib for the generic parts
Stars: ✭ 29 (+61.11%)
Mutual labels:  socket-server
realgpserver
程序采用Python语言进行编写开发,用来接收GPS原始数据,并进行解析入库Mysql。主要用到SocketServer,log,command,dbhandler,config几个模块。
Stars: ✭ 13 (-27.78%)
Mutual labels:  socket-server
AsyncSocket
Asynchronous socket (client+server) continues communications
Stars: ✭ 26 (+44.44%)
Mutual labels:  socket-server

socket-service

基于workerman-chat的GatewayWorker框架开发的一款高性能支持分布式部署的socket推送服务。

GatewayWorker框架文档:http://www.workerman.net/gatewaydoc/

特性

  • 使用websocket协议
  • 多频道支持
  • 订阅支持
  • 广播支持
  • 掉线自动重连
  • 支持多服务器部署
  • 消息推送到redis.指定给某个频道的某个用户发送消息,支持广播频道的广播消息

下载安装

1、git clone https://github.com/cryhac/socket-service

2、composer install

3、修改redis的配置信息。Applications/Config/config.php

启动停止(Linux系统)

以debug方式启动
php start.php start

以daemon方式启动
php start.php start -d

测试

使用chrome的扩展Smart Websocket Client

默认地址:ws://127.0.0.1:7272/

登录:{"type":"login","uid":5,"channel":"channel1"} 发送消息测试 使用php test.php

登录:{"type":"login","uid":5,"channel":"broadcast"} 发送消息测试 使用php test.php

日志

日志默认记录在log/service.log文件中

声明

此项目旨在给学习使用workerman的提供一个参考实例。并没有经过生产环境的 大量测试,请酌情使用。

todo

目前暂时没有做鉴权行为。如果有需要。下次加上。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].