-
Committer:
Oxan van Leeuwen
-
Date:
2010-09-01 19:57:09 UTC
-
Revision ID:
oxan@oxanvanleeuwen.nl-20100901195709-4n2wdmnnlnsn0qyo
Use incremental receiving. Socket.Receive doesn't guarant that it reads all bytes you specify, it just reads at least 1 byte. If the payload is big, we need to call Receive multiple times to read the whole payload.