how to use IPv6 Socket in Windows by python

Martin v. Löwis martin at v.loewis.de
Wed Mar 26 16:06:57 EST 2003


KANG JI-HUN <jhis21c at yahoo.co.kr> writes:

> I want to use IPv6 Socket in Windows by python . i can use IPv6
> Socket in Linux but i can't use one in Windows after i run IPv6
> Stack in Windows when i tried to use IPv6 Socket. but it couldn't
> use IPv6 Socket.

You need to recompile Python (or atleast the socket module) on Windows
to use IPv6. For that, you need Visual Studio .NET, as VC++ 6 does not
support IPv6 (and VC++ 6 was used to compile Python 2.2)
(alternatively, you can use the Windows SDK+VC++6; this also supports
IPv6).

HTH,
Martin




More information about the Python-list mailing list