You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it'll add unnecessary complexity to the project, maybe a synchronous approach using select command to iterate among the sockets give a similar readability/efficiency, without the async programming headache
@jeffhsta take a look in client.py#16,
here I use the select to switch between stdin and the server socket, the select command return a list of io_devices with bytes ready to read, then you can iterate over this list.
the main diference for the server side is that you'll add a socket in socket_list for each connected client.
This package supports a lot of other things not so interesting for us right now: select.
I want to rise a discussion about refactor our app to program in asynchronous way.
Since we are using Python 3.4 and just Python 3.5 will came with async syntax sugar, I am proposing to use Twisted
https://twistedmatrix.com/trac/
I want to know the team opinion about that.
@ruanLN @Dkmister @mateusriad @leormarqs @pfvscheffer
The text was updated successfully, but these errors were encountered: