Skip to content

Conversation

@astro
Copy link
Contributor

@astro astro commented Dec 12, 2014

Reasons:

  • Save file-descriptors
  • Support clients behind NAT

In the process I renamed _udpServer to _udpSocket for clarity.

The same should be done for the client side. It makes even more sense there, because P2P apps shouldn't waste file-descriptors, especially because clients need to have these sockets opened for a longer time. Yet the changes will be larger as we need to demux responses from multiple servers with different connection/transaction ids.

feross and others added 2 commits December 12, 2014 02:02
Reasons:
* Save file-descriptors
* Support clients behind NAT
feross added a commit that referenced this pull request Dec 13, 2014
@feross feross merged commit 37203fb into master Dec 13, 2014
@feross feross deleted the reuse-udp branch December 13, 2014 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants