Re: IPv6 and Python
- From: Roy Smith <roy@xxxxxxxxx>
- Date: Sat, 03 May 2008 16:11:08 -0400
In article "Giampaolo Rodola'" <gnewsg@xxxxxxxxx> 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.
.
- References:
- IPv6 and Python
- From: Giampaolo Rodola'
- Re: IPv6 and Python
- From: "Martin v. Löwis"
- Re: IPv6 and Python
- From: Giampaolo Rodola'
- Re: IPv6 and Python
- From: Roy Smith
- Re: IPv6 and Python
- From: Giampaolo Rodola'
- IPv6 and Python
- Prev by Date: Re: State machine Example in Python
- Next by Date: Re: Feature suggestion: sum() ought to use a compensated summation algorithm
- Previous by thread: Re: IPv6 and Python
- Next by thread: Re: IPv6 and Python
- Index(es):