lua-users home
lua-l archive

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

On Wed, Feb 24, 2010 at 5:34 PM, Sam Roberts <> wrote:
This is purely a luasocket behaviour. The system calls allow bind() to
fail, leaving the socket valid.

This behaviour of luasocket is particularly anti-social when
attempting to repeatedly bind to local ports, to search for one that
is free.
Is there any update on this issue?  Is it safe to remove, in inet_trybind, socket_destroy(ps) ?   Or is that destruction relied on elsewhere (ex:   socket.bind) ? 
Thomas Harning Jr.