Remote Rsponse Socket Connection

Joaquin Alzola Joaquin.Alzola at lebara.com
Fri Mar 11 08:17:15 EST 2016


HI Guys

I received this from a socket connection. This is the received data:

Adding more info --> the response is a mixture of hex numbers + ascii

>From python function --> data = s.recv(2048)

b'\x01\x00\x00D\x00\x00\x01\x18\x00\x00\x00\x00p2E\xe1+\xe8xG\x00\x00\x01\x08@\x00\x00\x0bmmm\x00\x00\x00\x01(@\x00\x00\x16mmm.xxxxxx.com\x00\x00\x00\x00\x01\x0c@\x00\x00\x0c\x00\x00\x07\xd1'

How is the best way to decode such reply from server?

BR

Joaquin
This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt.



More information about the Python-list mailing list