tjguk / networkzero

Making it easy for teachers to use simple networking in Python
MIT License
47 stars 14 forks source link

Switch to DEALER/DEALER #28

Closed tjguk closed 8 years ago

tjguk commented 8 years ago

Floris Bruynooghe [@flubdevork on Twitter] points out that using DEALER/DEALER sockets in place of REQ/REP allows for more flexibility. In particular, it doesn't tie each send to blocking on a reply.

I've just implemented this and merged it in f4a94188ce958ad5ffde0bae6cb3dd7f1746ac95. All tests pass, so now it's a question of refactoring the API slightly, possibly taking in #23 at the same time.

tjguk commented 8 years ago

Now complete and merged into master