As mentioned in the function summary (in pseudo-code), in the section on reading and receiving, when reading or receiving a stream in a TCP application, you cannot know in advance how TCP will fragment the stream of data. Thus, what is sent in one write/send call, might need several read/recv calls. See there.
The code here shows an example. Here are the files:
Mr. Danzig can be reached at:
Wyler Building, room 232, Sun-Thur 13:30 - 14:30
Telephone at work: 02-675-1218