I'm not really 100% on this, but I think there might be a race condition in the canonical example listener under serious load which can lead to the initial packet(s) from an active or once-active socket being delivered to the accepting process rather than the handling process. I've documented what I believe the problem is, and how to fix it (including a standard fix in my utility library scutil, under the name standard_listener), here:<br>
<br><a href="http://fullof.bs/a-better-erlang-tcp-listening-pattern-addressingthe-fast-packet-loss-problem">http://fullof.bs/a-better-erlang-tcp-listening-pattern-addressingthe-fast-packet-loss-problem</a><br><br>I would appreciate commentary. If I'm wrong, please let me know.<br>