开发者

simple php websocket example

开发者 https://www.devze.com 2023-02-10 02:33 出处:网络
Could someone please give me simple websocket code. I am creating websocket example but 开发者_如何学JAVAit\'s not working fine and I don\'t know what\'s the problem.

Could someone please give me simple websocket code.

I am creating websocket example but 开发者_如何学JAVAit's not working fine and I don't know what's the problem.

Thanks.

examples: server-side and client-side.


take a look at the source here: http://www.dwalker.co.uk/source_code/nav.html?phpjobscheduler_3.5/pjsfiles/functions.php.source.html

from line 310 it shows how to connect using both CURL and FSOCKOPEN

Hope that helps...

0

精彩评论

暂无评论...
验证码 换一张
取 消