In article "Giampaolo Rodola'" <[EMAIL PROTECTED]> wrote: > I would be very interested in taking a look at how you implemented > that part of code. Would it be possible?
Sadly, no. It's proprietary code. But, it's really not that complicated to reconstruct, once you know the basic idea. You have a DualSocket class whose constructor creates two sockets. It exposes (roughly) the same interface as a socket object, but decides which underlying protocol-specific socket to delegate to based on the address family of the sockaddr you give it. Oh, yeah, this was done in C++, but there's nothing really that's language specific in the implementation. -- http://mail.python.org/mailman/listinfo/python-list