othiym23 / nonsense-benchmark

suite of servers that don't do anything very interesting, but do it very quickly (and asynchronously)
8 stars 15 forks source link

Erlang: Close socket to remove "EADDRNOTAVAIL" error #24

Open jameshwang opened 11 years ago

jameshwang commented 11 years ago

@gnarg, I did a little change if that's ok. Basically, I was getting these errors because the sockets weren't closing. However, this does take a huge performance hit when these sockets are closed. Any thoughts on how to improve this?

btw, thanks again for all your advice and help. I definitely learn a lot from this exercise!