Re: Re: getsockopt

2005-12-16 Thread Fabian Deutsch
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 + > >> &

Re: getsockopt

2005-12-16 Thread Fabian Deutsch
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 + > >> &

Re: getsockopt

2005-12-16 Thread Steve Holden
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, &

Re: getsockopt

2005-12-16 Thread Fabian Deutsch
> --- 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

Re: getsockopt

2005-12-16 Thread Steve Holden
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

Re: getsockopt

2005-12-15 Thread Fabian Deutsch
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