PHP + nodejs + socket: Is there any instance for real-time communication?

Source: Internet
Author: User
PHP + nodejs + socket is there any instance for real-time communication? The js server built with nodejs can implement real-time communication similar to websocket for persistent connections and unrestricted connections. I recently watched nodejs and installed the zeromq module of nodejs in Linux. the examples module is js running on the server, how can I implement real-time communication in client h PHP + nodejs + socket? is there an instance?
The js server built with nodejs can implement real-time communication similar to websocket for persistent connections and unrestricted connections.
I recently watched nodejs and installed the Node. js zeromq module in Linux. the examples module is js running on the server. I have never known how to use the socket function in the client html. The websocket module's html example can also be found, but none of the zeromq client subscription examples are available. js usage in html is different from that in websocket module, has Daniel engaged in such real-time communication, message push, and customer subscription projects ???
The number of new messages displayed after a user logs on to csdn seems to be!
------ Solution --------------------
JavaScript and html4 cannot be socket-only through http, client requests, or persistent connections


Html5 has websocket.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.