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 saidYou can use the WebSocket way to deal with website (WEB) in terms of communication,