TCP stack throughput

Jani Launonen <>
Mon Jul 4 16:15:53 CEST 2005

Have you tried to increase the backlog of the listening socket? It defaults 
to 5 and you could increase it by using {backlog, 100} option (could be 
other than 100) in gen_tcp:listen/2 -function?

I haven't tested it, but just a quick idea.

See listen/2 function at

Hopefully works.

Jani Launonen

More information about the erlang-questions mailing list