node.js 에서 socket.io를 사용해서 채팅 또는 실시간 게임서버를 만드는 경우가 있는데
다들 php로는 불가능한것처럼 얘기한다.
어차피 socket.io,제티,네티,웹소캣 다 비슷한것들이다.
* 라이브러리
Ratchet : http://socketo.me/
ReactPHP : https://github.com/reactphp/socket
Sandstone : https://github.com/eole-io/sandstone
* 예제
https://github.com/php-pure/sacky-server
https://www.youtube.com/watch?v=OHy2zpmsWf8
https://drive.google.com/drive/folders/0B27vVLlLLJ1hcXJ3TmhVXzNvWUk
https://blog.wyrihaximus.net/2015/03/reactphp-sockets/
다들 php로는 불가능한것처럼 얘기한다.
어차피 socket.io,제티,네티,웹소캣 다 비슷한것들이다.
* 라이브러리
Ratchet : http://socketo.me/
ReactPHP : https://github.com/reactphp/socket
Sandstone : https://github.com/eole-io/sandstone
* 예제
https://github.com/php-pure/sacky-server
https://www.youtube.com/watch?v=OHy2zpmsWf8
https://drive.google.com/drive/folders/0B27vVLlLLJ1hcXJ3TmhVXzNvWUk
https://blog.wyrihaximus.net/2015/03/reactphp-sockets/