Skip to content

How to keep connection alive? #398

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
milteven12 opened this issue May 16, 2018 · 2 comments
Closed

How to keep connection alive? #398

milteven12 opened this issue May 16, 2018 · 2 comments

Comments

@milteven12
Copy link

Hello, i'm trying to build a simple server-client script that continuosly send messages to a client connected but In the example the client connection is always closed after sending the first message.
Does anyone know how to do it?

Thank you.

@aaugustin
Copy link
Member

Duplicate of #83. Keeping open as a documentation issue.

@aaugustin
Copy link
Member

In fact documentation seems already adequate:

You will usually want to process several messages during the lifetime of a
connection. Therefore you must write a loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants