OpenBazaar/OpenBazaar — pull request #537 by gubatron (2014-09-12 01:53:38+00:00)
Title: listen() could be called more than once on the transport layer, make sur...

Created this branch to close issue-551 - Making the p2p port a parameter, it seems it was already implemented. took the time to review the process, looked good except for this.

The periodic IP checker we have in place will call listen() in the event the external IP address has changed, wanted to make sure the previous context would shutdown all the invalid sockets before creating a new zmq context.