[Tutor] socket question

Kent Johnson kent37 at tds.net
Tue Sep 13 11:41:23 CEST 2005

ray wrote:
> When I receive a 4-bytes integer using socket.recv, it is stored in a 
> string. How to convert this string to a integer?

Take a look at unpack() in module struct.


More information about the Tutor mailing list