Example of TCP Stream Fragmenting

LAST EDIT: 25 Aug 2003

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:

Lab Instructor: Nachum Danzig

Mr. Danzig can be reached at:
Wyler Building, room 232, Sun-Thur 13:30 - 14:30
Telephone at work: 02-675-1218