Server and client are somewhat arbitrary. Perhaps I should word it this way, in the simple case the receiver knows the transmission is finished when the sender closes the socket (see Fortune Server Example). At its simplest HTTP operates that way. In practice though, network socket connections are kept open and the higher level protocol tracks the start and end of transactions.
I do not know which "http server example" you are referring to. There isn't one here. Can you provide a link?
Bookmarks