how to transfer integer on socket?

Irmen de Jong irmen.NOSPAM at xs4all.nl
Sat Apr 21 18:13:20 EDT 2007


Frank Potter wrote:
> Is there any easy way to transfer 4 bit integer on socket?

I think you mean a 4-byte integer?
Look at the struct module, anyway.

--Irmen



More information about the Python-list mailing list