![](http://pdfasset.owneriq.net/2/48/248eeeba-eb3a-43c9-903a-c22502d170e8/248eeeba-eb3a-43c9-903a-c22502d170e8-bg73.png)
Chapter6—UsingtheSoftware
MultiVOIP®Voice/FaxoverIPGateways 115
IPStatistics
UDPversusTCP.(UserDatagramProtocolversusTransmissionControlProtocol).UDPprovidesunguaranteed,
connectionlesstransmissionofdataacrossanIPnetwork.Bycontrast,TCPprovidesreliable,connection‐
orientedtransmissionofdata.
BothTCPandUDPsplitdataintopacketscalled“datagrams.”However,TCPincludesextraheadersinthe
datagramto
enableretransmissionoflostpacketsandreassemblyofpacketsintotheircorrectorder ifthey
arriveoutoforder.UDPdoesnotprovidethis.LostUDPpacketsareirretrievable;thatis,out‐of‐orderUDP
packetscannotbereconstitutedintheirproperorder.
Despitethesedisadvantages,UDPpacketscanbe
transmittedfasterthanTCPpackets—asmuchasthreetimes
faster.Incertainapplications,likeaudioandvideodatatransmission,theneedforhighspeedoutweighsthe
needforverifieddataintegrity.Soundorpicturesoftenremainintelligibledespiteacertainamountoflostor
disordereddatapackets(whichcomesthrough as
static).