lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

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).