|
UDP is possible, but the data sent three times will arrive separately.
TCP is not possible, but the data sent three times may arrive together. That is to say, you may receive the data sent three times in buf at a recv. This is called sticky packets and must be considered when programming. |
|