473,503 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

socket on cygwin python

I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?
Thanks

Jun 25 '07 #1
6 1671
ba********@gmail.com schrieb:
I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?
Use the Python binaries from python.org. If that is not acceptable,
recompile Python for Cygwin to use WinSock2.

Regards,
Martin
Jun 25 '07 #2
On Jun 25, 1:26 pm, "Martin v. Löwis" <mar...@v.loewis.dewrote:
bacon.c...@gmail.com schrieb:
I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?

Use the Python binaries from python.org. If that is not acceptable,
recompile Python for Cygwin to use WinSock2.

Regards,
Martin
Thanks Martin.

But no VC/C++ tool installed on my PC, and I think recompile this file
it seems necessary. :(
So I tried to find a binary files on Python.org, but I can't find it.
Could you tell me the binary location for the file? Thank you.

BestRegards
Ming

Jun 25 '07 #3
En Mon, 25 Jun 2007 03:03:45 -0300, <ba********@gmail.comescribió:
So I tried to find a binary files on Python.org, but I can't find it.
Could you tell me the binary location for the file? Thank you.
Go to http://www.python.org/
Click on DOWNLOAD on the left
Choose the version/release/flavor you want.

--
Gabriel Genellina

Jun 25 '07 #4
ba********@gmail.com wrote:
I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?
I don't think Cygwin supports IPv6. Use the native Windows Python.
--
Michael Hoffman
Jun 25 '07 #5
On Mon, Jun 25, 2007 at 01:53:18PM +0100, Michael Hoffman wrote:
ba********@gmail.com wrote:
I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?

I don't think Cygwin supports IPv6.
That was my impression too and seems to be substantiated by the
following:

http://win6.jp/Cygwin/index.html

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Jun 25 '07 #6
On Jun 26, 12:49 am, Jason Tishler <j...@tishler.netwrote:
On Mon, Jun 25, 2007 at 01:53:18PM +0100, Michael Hoffman wrote:
bacon.c...@gmail.com wrote:
I've installed cygwin with latest python 2.5.1, but it seems that the
socket lib file do NOT support IPv6(cygwin\lib\python2.5\lib-dynload
\_socket.dll), what can I do if I want to use IPv6?
I don't think Cygwin supports IPv6.

That was my impression too and seems to be substantiated by the
following:

http://win6.jp/Cygwin/index.html

Jason

--
PGP/GPG Key:http://www.tishler.net/jason/pubkey.ascor key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Got it! Thank you very much, Jason, both Michael.
I've chosen to be a Linuxer not only to solve this. :)

Ming

Jun 29 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1419
by: Dan Williams | last post by:
Hi people Part of the reason I have started using Python (experience: 3 days) is that I recognise the potential benefits in using it compared to writing C/C++ code. In particular, there are a...
0
2314
by: dw | last post by:
Pehaba, does anyone knows how to install MySQLdb on cygwin? - test device: MySQLdb 0.9.2.0 targz + cygwin 1.5.7-cr-0x9e + python 2.3.3 on cygwin + mysql 4.0.17 win32 - modified setup.py's...
3
7354
by: RMJ | last post by:
After installing Enthought's python and typing 'python' from within cygwin the program hangs with no output. I do not remember this being the case with earlier versions of Enthought python. Is...
11
6794
by: Mike M | last post by:
Is it possible? In the parent process, I have a socket that binds, listens and then accepts new connections (which creates new sockets in the process). I want to be able to pass some of these new...
12
5608
by: Eugene A | last post by:
Hello. I am trying to compile a linux socket server and a client in cygwin on windows. The g++ version is 3.3.1. The source was obtained from this location: ...
0
943
by: tom | last post by:
I compiled Python 2.3.5 from source on my Cygwin machine (XP), and I got the following error when I tried to initialize Zope: Traceback (most recent call last): File...
2
3201
by: 63q2o4i02 | last post by:
Hi, I'm using python 2.4 and windows XP. I have two packages in the windows version of python in site-packages. They are PyVisa and ctypes, and both live in c:\python24\lib\site-packages ...
10
3541
by: John Nagle | last post by:
Here are three network-related exceptions. These were caught by "except" with no exception type, because none of the more specific exceptions matched. This is what a traceback produced: 1....
2
3520
by: Heikki Toivonen | last post by:
M2Crypto has some old code that gets and sets socket timeouts in http://svn.osafoundation.org/m2crypto/trunk/M2Crypto/SSL/Connection.py, for example: def get_socket_read_timeout(self): return...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.