472,958 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

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 1654
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
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
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
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
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
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
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
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
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
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
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.