Archive for the ‘networking’ tag
Jython and Internationalized Domain Names.
I’m happy to announce that jython finally supports Internationalized Domain Names.
Jython supports IPV6.
I am delighted to announce that jython is IPV6 ready: the future of internet addressing is fully supported.
A list of open source HTTP proxies written in Java.
A few years ago, as an aide to python web programers, I compiled a database of open source HTTP proxies written in python, which became surprisingly popular.
So I’ve decided to expand the database to encompass the other language that I regularly use, java, and publish a database of open source HTTP proxies written in java.
Socket shutdown versus socket close on cpython, jython and java.
So, here we are again with translating cpython socket semantics to java socket semantics, in order to correctly implement the cpython socket API on jython.
The latest issue is socket shutdown.
Read the rest of this entry »
Twisted and Zope: high performance asynchronous network servers in jython.
I’m tremendously excited this week; it looks like the work I did on supporting asynchronous sockets and select in jython has paid off.
Installing an all-trusting security provider on java and jython.
Back in 2007, I updated the jython socket module to support client-side ssl sockets. This post will describe how to configure jython so that it behaves like cpython, in relation to acceptance of SSL certificates.
Timeout sockets for jython
Back in 2005, I modified the jython socket module to support timeouts. Brian Zimmer checked in that patch, since I did not have jython SVN commit rights at that time.
I wrote a documentation page about the new timeout support, and placed it on xhaus.com. Due to a rearrangement of the xhaus.com website, I am moving that page to this blog.
It should be noted that the timeout functionality has been superceded by the further work that I did to make the socket module support asychronous I/O. So you should refer to the jython socket module documentation to see how to use timeouts. This page appears here solely for historical purposes.
Asynchronous networking for jython: Overview
Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.
Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.
For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.
Asynchronous networking for jython: the socket module
Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.
Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.
For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.
Asynchronous networking for jython: the select module
Over the Christmas holidays in 2003, I wrote a design for how Asynchronous Socket I/O might be implemented in jython, using java.nio. I wrote up some notes in HTML, and placed them on a group of pages on xhaus.com. These notes were the basis of the design which I later used to implement asynchronous I/O for jython sockets, which is now a part of the jython distribution.
Although these notes are now out-of-date, having been surpassed by the actual implementation itself, I am publishing them here for historical purposes. The notes are broken down into four main areas.
For documentation on how to use the jython’s asynchronous socket I/O, see the documentation for the socket, select, asyncore, and asynchat modules.