What does this mean in python:
sock.recvfrom(2**16)
I know what sock is and I get the jest of recvfrom
function, but what the hell is 2**16
?
What does this mean in python:
sock.recvfrom(2**16)
I know what sock is and I get the jest of recvfrom
function, but what the hell is 2**16
?
It is the power operator, see this reference:
http://www.webreference.com/programming/python/
It is equivalent to 216 = 65536
It is the awesome power operator which like complex numbers is another thing you wonder why more programming languages don't have.