On Sat, Mar 24, 2007 at 09:45:09PM -0700, David Miller wrote: > From: Adrian Bunk > Date: Fri, 23 Mar 2007 19:48:17 +0100 > > > Subject : problem with sockets > > References : http://lkml.org/lkml/2007/3/21/248 > > Submitter : Jose Alberto Reguero > > Status : unknown > > Not enough information in his report, for example for the > case he says does not work he fails to indicate what kernel > or system type the Client runs on. > > Furthermore, his scripts don't even execute properly when > I try to run them myself, for example server.py gives me > this syntax error when python tries to parse the script: > > davem@sunset:~/src/GIT/net-2.6$ /usr/bin/python server.py > File "server.py", line 9 > struct sockaddr_in ServerAddr; > ^ > SyntaxError: invalid syntax > > Can someone help de-crapify this bug report? He described one Python and one C example, and attached 2+2 programs. The mailing list archive I quoted only contains the C files and doesn't display the Python files with the error message "unhandled content-type:application/x-python" - but that's not the fault of the submitter, the bug report itself is OK. I've attached all 4 files to this email. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed