Previous Topic: Using Stream SocketsNext Topic: Sending Data


Receiving Data

TCP determines whether to break a block of data into pieces and transmit each piece separately or to accumulate data in its buffer and send it in one block. However, the receiving application can receive the data of multiple send requests in a single receive. TCP receives data until the expected message is completely received.