I'm working with Bernard Yue to implement a timeout socket patch. Our question: is it fair to assume that any OS that supports sockets also supports select? Or do have to have added checks?
-- Mike
Oh yeah, and could a few brave souls volunteer to do some testing on MS and MAC? The patch is complete at this point but needs some testin'.
-- Mike
On Fri, Apr 26 @ 18:05, Michael Gilfix wrote:
I'm working with Bernard Yue to implement a timeout socket patch. Our question: is it fair to assume that any OS that supports sockets also supports select? Or do have to have added checks?
-- Mike
-- Michael Gilfix mgilfix@eecs.tufts.edu
For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html
Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev
`-> (mgilfix)
On Fri, 26 Apr 2002, Michael Gilfix wrote:
Oh yeah, and could a few brave souls volunteer to do some testing on MS and MAC? The patch is complete at this point but needs some testin'.
On Fri, Apr 26 @ 18:05, Michael Gilfix wrote:
I'm working with Bernard Yue to implement a timeout socket patch. Our question: is it fair to assume that any OS that supports sockets also supports select? Or do have to have added checks?
A pointer to the patch please. I'd like to see how the OS/2 EMX port fares...
-- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
Andrew MacIntyre wrote:
On Fri, 26 Apr 2002, Michael Gilfix wrote:
Oh yeah, and could a few brave souls volunteer to do some testing on MS and MAC? The patch is complete at this point but needs some testin'.
On Fri, Apr 26 @ 18:05, Michael Gilfix wrote:
I'm working with Bernard Yue to implement a timeout socket patch. Our question: is it fair to assume that any OS that supports sockets also supports select? Or do have to have added checks?
A pointer to the patch please. I'd like to see how the OS/2 EMX port fares...
You can get the source from http://www.3captus.com/Downloads. BTW, does OS/2 support select() on sockets?
Bernie
-- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev
On Sat, 27 Apr 2002, Bernard Yue wrote:
Andrew MacIntyre wrote:
On Fri, 26 Apr 2002, Michael Gilfix wrote:
Oh yeah, and could a few brave souls volunteer to do some testing on MS and MAC? The patch is complete at this point but needs some testin'.
On Fri, Apr 26 @ 18:05, Michael Gilfix wrote:
I'm working with Bernard Yue to implement a timeout socket patch. Our question: is it fair to assume that any OS that supports sockets also supports select? Or do have to have added checks?
A pointer to the patch please. I'd like to see how the OS/2 EMX port fares...
You can get the source from http://www.3captus.com/Downloads. BTW, does OS/2 support select() on sockets?
Thanks. The EMX runtime library supports select() on sockets; I don't believe that native OS/2 has select() at all, but can't confirm.
-- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
Hmm, how do you poll sockets on OS/2 then? If there is some way, then maybe that hack should go into the select library (the select library treats sockets specially as polleable objects). Perhaps I should rework the patch so that use of select is avoided if either the import fails or the timeout is None. But (and maybe Guido will offer his opinion here), I'd like to hold out to see if it really is the case that some system doesn't support a select equivalent for sockets.
-- Mike
On Mon, Apr 29 @ 08:12, Andrew MacIntyre wrote:
Thanks. The EMX runtime library supports select() on sockets; I don't believe that native OS/2 has select() at all, but can't confirm.
Michael Gilfix wrote:
Hmm, how do you poll sockets on OS/2 then? If there is some way, then maybe that hack should go into the select library (the select library treats sockets specially as polleable objects). Perhaps I should rework the patch so that use of select is avoided if either the import fails or the timeout is None. But (and maybe Guido will offer his opinion here), I'd like to hold out to see if it really is the case that some system doesn't support a select equivalent for sockets.
-- Mike
Just found http://www.ia.amu.edu.pl/edm2/0401/socket3.html on the web. The documentation above mentioned select() support in IBM TCP/IP development toolkit for OS/2. So maybe OS/2 support select(). I remember TCP/IP support for OS/2 comes as an optional package of IBM LAN Manager client, back in 94-95. Am I correct, Andrew? Anyway, since you have access to OS/2, can you help us to dig in a bit?
Bernie
On Mon, Apr 29 @ 08:12, Andrew MacIntyre wrote:
Thanks. The EMX runtime library supports select() on sockets; I don't believe that native OS/2 has select() at all, but can't confirm.
-- Michael Gilfix mgilfix@eecs.tufts.edu
For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html
On Mon, 29 Apr 2002, Bernard Yue wrote:
Just found http://www.ia.amu.edu.pl/edm2/0401/socket3.html on the web. The documentation above mentioned select() support in IBM TCP/IP development toolkit for OS/2. So maybe OS/2 support select(). I remember TCP/IP support for OS/2 comes as an optional package of IBM LAN Manager client, back in 94-95. Am I correct, Andrew? Anyway, since you have access to OS/2, can you help us to dig in a bit?
I only have v4 (not v4.5 or eCS), but its still treated there as a "optional" package, certainly from the point of view of maintenance.
I don't have VAC++ or a complete set of API docs either, but it wouldn't surprise me that select() is available in the socket library, exclusively for sockets.
I use EMX, which has a select() that does what needs to be done to support sockets as well as files and (I think) pipes.
I hope to have a look at your bits this weekend. Will let you know what transpires.
-- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia
Andrew MacIntyre wrote:
On Mon, 29 Apr 2002, Bernard Yue wrote:
Just found http://www.ia.amu.edu.pl/edm2/0401/socket3.html on the web. The documentation above mentioned select() support in IBM TCP/IP development toolkit for OS/2. So maybe OS/2 support select(). I remember TCP/IP support for OS/2 comes as an optional package of IBM LAN Manager client, back in 94-95. Am I correct, Andrew? Anyway, since you have access to OS/2, can you help us to dig in a bit?
I only have v4 (not v4.5 or eCS), but its still treated there as a "optional" package, certainly from the point of view of maintenance.
So does OS/2 now support TCP/IP by default?
I don't have VAC++ or a complete set of API docs either, but it wouldn't surprise me that select() is available in the socket library, exclusively for sockets.
I use EMX, which has a select() that does what needs to be done to support sockets as well as files and (I think) pipes.
[snip]
I hope to have a look at your bits this weekend. Will let you know what transpires.
I've just upload an alpha version of unit case for the timeout socket (http://www.3captus.com/Downloads/test_sockettimeout.py). Please give it a try.
Bernie
-- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia