|
Re: socket timeouts: msg#00066lang.jython.user
[terti] Is there a way to implement socket timeouts in Jython using the standard Jython 2.1 socket module? Yes: I have a version of the socket 2.1 module which I've amended to support the cpython 2.3 socket timeout interface. See below. [terti] Google pointed me to this site http://xhaus.com/alan/python/jynio/ but it seems like an implementation discussion rather that a solution. Indeed, it is just an implementation discussion. I have a partially complete implementation of non-blocking socket I/O, which is passing most of the cpython non-blocking socket tests. But making that ready for publishing will take more time than I can currently spare. But the timeout stuff is easy, so I went ahead and did a separate module just to support timeouts. Although I have only tested this module on JVM 1.4.2, it should work on all pre-1.4 JVMs, i.e. pre-java.nio JVMs. I intend to make this module available immediately. So that leads to the question I want to ask: How should I publish this? I had planned to simply make it available for download from a page on my site? Are there licensing issues with this? I have taken the original jython 2.1 socket module and added timeout support: so I don't want to claim ownership of the module. I also have a small test suite (mostly copied from the cpython 2.3 Lib/test/test_socket.py module) and some documentation. License issues aside, it would be simplest for me to make the module/test-suite/docs available for download from my own site, perhaps linked from the jython wiki. What's the best way for me to publish this? Regards, Alan. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | On passing the project's classpath to external tools in Eclipse., Valentin Ruano |
|---|---|
| Next by Date: | jython.jar in classpath, Lieven De Keyzer |
| Previous by Thread: | socket timeouts, terti |
| Next by Thread: | Re: socket timeouts, Alan Kennedy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |