Members - Reputation: 122
Posted 23 April 2000 - 05:05 PM
Members - Reputation: 126
Posted 26 April 2000 - 05:14 PM
As for the guaranteed, it means when the message is broken up into small packets and send over the network, the message is guaranteed to appear on the other side..
The sad thing is if one packet is lost, the whole message is meaningless and is discarded..
So how does the sender knows if the recevier has got the whole message? The receiver must acknowledge to the sender that is has received the message so the sender will not keep sending it,
but what happens if the acknowledgement message from the recevier gets lost..then all the networking headaches come in, which you can find more details in any decent networking book.
This is all about network protocol. You only need to be bothered whether you want your application to wait until the receiver is guaranteed to have receive the message or not, by specifying the flags in the Send function