ok so \001 is a byte and every number between backslash is a byte.
I' ve made so to solve the problem:
##FOR A BYTE###############
def GET_BYTE(Buffer):
global ind
Byte = ord(Buffer[ind])
ind = ind + 1
return Byte
###########################
######FOR A WORD###########
def...
I am implementing a client server program.
Client side is written in C++ it sends to a phyton server packets.
For example the phyton buffer receive:
datarecv = 'i\001\017\000\001\000\334\005...'
Where every part between backslash is a byte.
My problem is to make phyton understand as a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.