[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API)
- From: Rob Kendrick <rjek@...>
- Date: Wed, 20 Nov 2013 13:35:06 +0000
On Wed, Nov 20, 2013 at 01:36:36PM +0100, Daurnimator wrote:
> And infact, all it does is use getaddrinfo() in another thread.
> This causes hours of fun when your program doesn't use pthreads elsewhere (
> http://cygwin.com/ml/libc-help/2012-07/msg00024.html )
>
> In the end; is probably is better to just use something like lanes to do it
> yourself.
> Infact, the conclusion I usually end up is intergrating a real dns library
> into my main socket handling loop.
In the past, I've just fork()ed off another process to do DNS and such,
and communicate with it over a pipe, whose FD is in my usual selected
set. It seems much simpler, tbh.
B.
- References:
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Andrew Starks
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Justin Cormack
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Sir Pogsalot
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Sean Conner
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Sir Pogsalot
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Daurnimator
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Sir Pogsalot
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Sean Conner
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), kamicc olo
- Re: Suggestion: Lua 5.3 -- a facility for creating and manipulting Lua file handles (C API), Daurnimator