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
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