question: python and UDP
ricky
mzou at bu.edu
Sun Mar 24 22:59:49 EST 2002
how would i use the struct module?
"Peter Hansen" <peter at engcorp.com> wrote in message
news:3C9E9CFD.AC6A149B at engcorp.com...
> ricky wrote:
> >
> > I am trying to write a python program to connect to a proxy server which
> > takes the following header:
> > however, the proxy server doesn't seem to understand the header i sent
to
> > it.
> [...]
> > My question is how do i format the header so that proxy server would
> > understand the information I send to it.
> [...]
>
> Are you looking for the 'struct' module? That should be enough to
> produce the header format you need.
>
> -Peter
More information about the Python-list
mailing list