Home > Back-end >  Delphi xe10 IdHTTPServer1 problem
Delphi xe10 IdHTTPServer1 problem

Time:12-27

IdHTTPServer1 activated after the success, the client connection is successful, long connection, now have a question to consult everybody warrior:
I in other functions need to this, the client sends information is ok? How to do?
Like a serversocket, according to the IP address to find the corresponding connection, and then send, don't know IdHTTPServer1 can not?

CodePudding user response:

First HTTP, it is not for long connection service agreement, the HTTP protocol is always the client request, the server, the echo response so IdHTTPServer cannot fulfill this function, you said
You can use the WebSocket way to deal with website (WEB) in terms of communication,
  • Related