Two connections have the same unique ID? How do I identify them?

I am running WebSocket server (version 3.3.6) and I noticed a possible bug or at least a serious inconsistency: When I connect two clients to the server (localhost), both of them will have the same _$user->i...

nkorhonen 发表与 2017-01-30 3493 浏览 1 回答
pcntl_wait 信号触发问题

我看了你之前回到的代码,有个地方我感觉有点疑问。 function stopAll($sig){ echo "master has a sig $sig\n" ; } $master_id = getmypid(); $pid = pcntl_fork(); if($pid > 0) { pcntl_signal(SIGINT,'stopAll') ; $epid = pcntl_w...

qpao123 发表与 2017-01-22 3705 浏览 2 回答

t182848232

1940
积分
0
获赞数
0
粉丝数
2017-01-28 加入
×
🔝