http://www.perlmonks.org?node_id=946652


in reply to IO::Socket connect fails to block

Shouldn't reuse be set to null?

ReuseAddr Set SO_REUSEADDR before binding Reuse Set SO_REUSEADDR before binding (deprecated, prefer ReuseA +ddr)

Update: I tried you above code and it works as expected, printing out any lines "queued" up from the second client.