phpsocket.io icon indicating copy to clipboard operation
phpsocket.io copied to clipboard

A server side alternative implementation of socket.io in PHP based on workerman.

Results 64 phpsocket.io issues
Sort by recently updated
recently updated
newest added

Hi, I'm using RN with phpsocket.io. I can connect to socket but any emit works. What I'm doing wrong ? Here is my RN code : `` So, on the...

Hi, I am trying to run on my server (Centos 7), but I get the following error: ![image](https://user-images.githubusercontent.com/12164593/99377568-52746d00-2901-11eb-9236-623057b26e94.png) `net::ERR_CONNECTION_TIMED_OUT` I have enabled public access to port: 2120 using the following...

$socket is null public function index() { ini_set('display_errors', 'on'); error_reporting(E_ERROR | E_WARNING | E_PARSE); $port = Config::get('param.ws.inquire_post'); $io = new SocketIO($port); $io->on('connection', function ($socket) use ($io) { // 初始化 websocket...

`CMD php /app/backend/SocketServer/start.php start` if i run this command my index.php becomes inaccesible. Please help.

Currently the project runs on 2.x. Do you plan on upgrading to 3.0?

enhancement
help wanted

How to configure heartbeat detection?

Hi, I'd like to set only trusted origins to the socket server so it won't be exposed to any origins. I usde $io->origins to allow the requests from my domain...

Hello, is it possible to run on the wamp server?

Hi, I'm currently using web-msg-sender on my site, after a running phpsocket.io on workerman for like 20 days, i see it consumes 8G of memory and rising. Does it look...

bug
enhancement

I'm trying to do something like: ``` $socket->emit('test', function($data) { var_dump($data); }); ``` And then on client side (v2.3.1): ``` socket.on('test', (callback) => { console.log(callback); callback('CALLBACK WORKING'); }); ``` But...