kripken/emscripten — pull request #1575 by inolen (2013-08-31 21:48:47+00:00)
Title: accept fixes

This resolves the intermittent errors seen on `test_sockets_echo` and `test_sockets_echo_bigdata`.

- refactored accept code to automatically setup peers for incoming connections immediately upon connect. previously, this wasn't done until the server called accept, creating a small window of time for peer message events to be lost
- renamed send_queue to dgram_send_queue just so its purpose is more clear