When using a multithreaded setup (one thread running serverforever and one creating messages). The select call might hang endless preventing data being send.
I've created an optional parameter which creates a polling select call.
To use the non blocking select:
server = SimpleWebSocketServer("localhost", 9000, MyServerProtocol, selectInterval=0.01)
When using a multithreaded setup (one thread running serverforever and one creating messages). The select call might hang endless preventing data being send.
I've created an optional parameter which creates a polling select call.
To use the non blocking select: