accesing socket at a lower level?

Fredrik Lundh effbot at
Fri May 19 19:00:56 CEST 2000

Z 3 Penguin wrote:
> >Hmm... What told you there were some extra bytes at the beginning?
> TCPDump Log.

have you tried using any of the standard networking
libraries under that tool?

try running the following script under TCPDump:

    import urllib
    fp = urllib.urlopen("")
    print len(

the first three bytes send to the server should be "GET".  if they're
not, the script should raise an exception (if this happens, please post
the output from TCPDump).


More information about the Python-list mailing list