inets: request error on Windows XP

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Sun May 1 08:42:31 CEST 2005


Anders Nygren wrote:

> This looks like a problem I have had too.
> See,
> http://www.erlang.org/ml-archive/erlang-questions/200503/msg00014.html
> http://www.erlang.org/ml-archive/erlang-questions/200503/msg00045.html
> 
> I never got any response to those, and I never found the problem.
> I am happy to see that it works with a name instead of IP address.

Following the second link, I found:

> or from the shell
> 7>Port=erlang:open_port({spawn,tcp_inet},[binary]).
> #Port<0.36>
> 8>erlang:port_control(Port,1,[2]).
> [0,101,105,110,118,97,108]
> 
> The funny thing is that I can set up a tcp connection
> from the windows machine to the linux machine. But
> not from the windows machine to the internet.

The way it looks like (to me, who don't know the inet driver),
is that you're trying to open an IPv6 socket, and your 
system doesn't support it (or, perhaps, Erlang on Windows
wasn't built with IPv6 support enabled).

I believe Windows XP has v6 support starting with SP1.

Going from your windows machine to Internet, why would 
you want to run IPv6?

/Uffe



More information about the erlang-questions mailing list