I’ve read and done (for my self) How do I implement basic "Long Polling"?
But why is this called “long-polling”, It just polls when it’s done on both success and error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A normal poll asks once in a very quick back and forth between client and server.
A long poll is kept open and idle for a long time, possibly sending data several times while the connection is open. Hence long polling.