simple php websocket example
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...
精彩评论