Steve Holden wrote:
> Fabian Deutsch wrote:
> >>--- Ursprüngliche Nachricht ---
> >>Von: Steve Holden <[EMAIL PROTECTED]>
> >>An: python-list@python.org
> >>Betreff: Re: getsockopt
> >>Datum: Fri, 16 Dec 2005 08:29:08 +
> >>
&
Stave Holde wrote:
> Fabian Deutsch wrote:
> >>--- Ursprüngliche Nachricht ---
> >>Von: Steve Holden <[EMAIL PROTECTED]>
> >>An: python-list@python.org
> >>Betreff: Re: getsockopt
> >>Datum: Fri, 16 Dec 2005 08:29:08 +
> >>
&
Fabian Deutsch wrote:
>>--- Ursprüngliche Nachricht ---
>>Von: Steve Holden <[EMAIL PROTECTED]>
>>An: python-list@python.org
>>Betreff: Re: getsockopt
>>Datum: Fri, 16 Dec 2005 08:29:08 +
>>
>>Fabian Deutsch wrote:
>>
>>>Hello,
&
> --- Ursprüngliche Nachricht ---
> Von: Steve Holden <[EMAIL PROTECTED]>
> An: python-list@python.org
> Betreff: Re: getsockopt
> Datum: Fri, 16 Dec 2005 08:29:08 +
>
> Fabian Deutsch wrote:
> > Hello,
> >
> > my name is fabian and i'm a stu
Fabian Deutsch wrote:
> Hello,
>
> my name is fabian and i'm a student from northern germany. right now i
> try to create som kind of decapsulation of esp-udp packets using python.
>
> therefor i need to use the socket.getsockopt (SOL_IP, IP_OPTIONS, 20)
> method. But al i get is some empty value
Forgot:
> The lines:
> s = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP)
> s.bind(('',4500))
> while 1:# Run until cancelled
> message, client = s.recvfrom(1400) # <=256 byte datagram
> hdr = s.getsockopt (SOL_IP, IP_OPTIONS, 20)
> print "Client connected:", client
> pri