Skip to content

Instantly share code, notes, and snippets.

@jarib
Created January 29, 2010 03:37
Show Gist options
  • Save jarib/289421 to your computer and use it in GitHub Desktop.
Save jarib/289421 to your computer and use it in GitHub Desktop.
>> s = []; i = 0; loop { s << TCPServer.new("localhost", 5000); p i+=1 }
1
2
3
Errno::EADDRINUSE: Address already in use - bind(2)
from (irb):3:in `initialize'
from (irb):3:in `new'
from (irb):3
from (irb):3:in `loop'
from (irb):3
from :0
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment