The Internet Control Message Protocol (ICMP) is mainly responsible for the sending of error messages to indicate any issues that occur between networked hosts.