Could someone please give me simple websocket code.
I am creating websocket example but it'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...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.