search

Home  >  Q&A  >  body text

websocket - PHP-socket MeepoPS listening port is not 80. I don’t understand how to implement web chat.

Let’s take a look at his introduction first

MeepoPS is the abbreviation of Meepo PHP Socket. It is designed to provide an efficient and stable multi-process SocketService developed by pure PHP.
MeepoPS can easily build online real-time chat, instant games, video streaming, RPC, real-time monitoring,
As well as scenarios that originally used HTTP interfaces/scheduled tasks. In the next version, MeepoPS’s HTTP protocol
It can replace Apache/Nginx in simple scenarios.

Open a window and enter: telnet localhost 19910, then enter a sentence, such as 1

![Picture uploading...]

To open the instance in window, you need to enter localhost:19910. My project cannot be port 19910
How to understand this?
When a new user comes into my project, we will let him monitor port 19910 instead of letting her access localhost:19910,
Is this what it looks like?

天蓬老师天蓬老师2830 days ago527

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-16 13:04:21

    No, no, that’s not what I mean. Have you seen the PHP practical development communication project on MOOC.com?

    Your requirement is actually that when chatting on a web page, the web page itself uses port 80 or other ports to provide HTML static page access services, and then a JavaScript script is used in this static page to initiate a websocket built with a PHP framework such as MeepoPS or Swoole. Server-side communication means that there are two communication links in web chat.

    reply
    0
  • Cancelreply