|
Hi List,
I cut and pasted a dump from recvfrom below. I can’t read it and don’t where to look in the documentation to figure out how to read this.
Is there a name for this type of number? I’m assuming the \x means it’s hex, but then you have things like \x00h, and \x007p^.
Any help here is greatly appreciated.
Code snippet:
text = server.recvfrom(1024) print repr(text)
'\x05\x01\x03\x02\x05\xaf\xce\x04\x00h\x00\x00\x00\x01\x007\x00\x01\x00\x01\x007p^\x00\x00\x00\x00\x00\x00\x00\x01\x007\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00AN\x94\n\x923\xcaXA$s\xdc(\x1e\xcf\xbaAR\xb6\xc9\x1c\x1e%#\x02\x02\x00\xe1\x00\x00\x00\x00\x00\x00\x03\xe8\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00'
Thanks, Frank |
_______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
