- UDP sockets
- A UDP socket is
bound to an
UDP port
- UDP sockets will
therefore provides
unreliable communication
service
- The UDP socket uses a
packet-oriented protocol:
a unit
of transmission
is a packet
|
- TCP sockets
- A TCP socket is
bound to an
TCP port
- TCP sockets will therefore
provides
reliable communication service
- TCP socket uses
a byte-oritented protocol:
the unit of
transmission is
a byte
|
|