What should we have in here data = s.recv(???)

  • data = s.recv(64)

    I have to ask... What should I put in there... Often I can see data = s.recv(64) but I want to know more about this... becuse if I send to much I get this:

    [Errno 11] EAGAIN this happens when I cand handle the amount of data being sent to me what I notice... Is there a way to do it like handshaking... I want to know that the buffert is empty before I send more data... ANYONE know how to do that?

Pycom on Twitter