Is it possible to write a simple python script which handles real-time server pushing of data back to the client when data is available?
Is it possible to write a simple python script which handles real-time server pushing
Share
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.
“Yes, but”:
You can keep the connection between the client and server live; but this can take significantly more server resources.
Edit: If you want to do this, see
You can have the client register an IP address which the server can contact, but you will run into a huge amount of trouble with client-side firewalls.
Or you can just do what most services do, and have the client poll the server occasionally.