[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua socket problem
- From: Ignacio Burgueño <iburgueno@...>
- Date: Fri, 4 Dec 2015 16:19:59 -0300
It is ok what you are trying to do (reusing the socket) but only when they are in time_wait. ie. your tests will run ok, but the code you posted won't.
In Windows, the get closed right away (so no need to set reuseaddr).