Bug on server class ?

  • Hello,

    When you start the server, you can read the state of server with server.isrunning(). If the timeout is reach the server disconnect (normal), but server.isrunning() get always True. For me it's seems abnormal. What do you think about this ?

  • Thanks Abilio for this quick and clear response .

  • The server is considered to be in "running" state while:

    1. Listening for new incoming connections.
    2. Handling a connection.

    So #1 means that after being initialized, server.isrunning() returns True until you call to server.deinit().

    Thanks for your comment, it will be studied for further documentation improvements.

Log in to reply

Pycom on Twitter