OpenBazaar/OpenBazaar — pull request #942 by Hoobus (2014-11-07 00:16:35+00:00)
Title: [Early WIP] Move to a UDP (UDT) based transport

This PR will introduce two main changes:

1) The creation of a generic Transport Redirector class
2) The implementation of UDT as a default transport

This has been disucssed to some extent on #795

To support this a hopefully small number of changes will also be necessary in the current codebase, primarily the conversion of ZMQ sockets to utilise the inproc transport but also minor changes to the uri to support additional transports.

The intention with UDT is to listen on a server socket (udp/12345 by default) for incoming UTP connections from other peers. Any outbound UDT connections will re-use the same port as their source ports. This should aid NAT traversal signficantly and reduce the requirement for NAT-PMP and upnp. #199 #536

Additional transports can be added to the redirector as necessary.