[Stackless] OS-X installer (was: Re: asyncore/chat or stackless for SMTP server?)
bob at redivi.com
Mon Oct 23 03:04:35 CEST 2006
On 10/22/06, Count László de Almásy <calmasy at gmail.com> wrote:
> On 10/22/06, Santiago Gala <santiago.gala at gmail.com> wrote:
> > Erlang has nothing like socket.getaddrinfo(), what I discovered painfully
> > while trying to adapt ejabberd-mod-irc adapter to ipv6. The listening
> > sockets can be make to work, by using ::1, but having sockets choose the
> > best ipv4/ipv6 address when connecting is not trivial at all.
> > So, if you need ipv6 compatibility, erlang might not be the best solution.
> My application is an Internet application, so i.e, ipv6 is irrelevant.
There are solutions that implement an async getaddrinfo pool using a
bunch of ports.. or you could write your own DNS code when/if you have
to optimize that. A single function seems like a silly reason to
dismiss a language. You could even use a port written in Twisted that
did the async DNS for Erlang until a better solution was available.
Regardless, you should probably ask on the Erlang list. There's
definitely a chance that this is a solved problem already.
Stackless mailing list
Stackless at stackless.com
More information about the Stackless