Re: Help with my 8-year old son's first program. I'm stuck

2014-01-27 Thread john pierce
First, forget about the def a() statement. def is for defining a function and this is not a function. Second, research the difference between == (logical test) and = (assignment operator). Third, take a look at the length of "op" just after the readline(). You can add a line that says print

Re: Receive packet using socket

2013-10-21 Thread john pierce
Tom wrote: BTW what I am trying to accomplish is easily done in hping3 using this comm= and: hping3 mtalk.google.com -S -p 5228=20 I just want those same kind of results using python so I can make an exe ou= t of it. Hi Tom, Not sure if it's exactly what you're looking for, but I wrote a tcp syn