Connected UDP Sockets and ICMP Errors

UDP sockets can be created as connected or unconnected. This is purely a local convenience and has no bearing on the underlying protocol - it&rsquo;s the same connectionless UDP protocol either way. A connected UDP socket is just a way to say &ldquo;this socket will always send to and receive from remote address FOO&rdquo;, thus letting you use the simpler send()/recv() syscalls instead of…