Java provides API support for three fundamental types of connectivity in terms of protocols and services: Transport Control Protocol (TCP) is a protocol that allows you to send and receive data User Datagram Protocol (UDP) stands for User Datagram Protocol. Mcast stands for "Multicast Protocol."
Java provides the NetworkInterface class in the java.net package, and the NetworkInterface class represents both sorts of interfaces. The loop back interface (127.0.0.1 for IPv4 and 1 for IPv6) is a piece of software that simulates a network interface and is not a physical device.
TCP: Transmission Control Protocol ensures reliable communication between the sender and receiver and is supported by the java.net package. TCP is used in conjunction with TCP/IP, which stands for Transmission Control Protocol/Internet Protocol.
Java programmes may communicate over the Internet using TCP or UDP thanks to the classes in java.net. TCP is used to communicate across the network via the URL, URLConnection, Socket, and ServerSocket classes. UDP is supported by the DatagramPacket, DatagramSocket, and MulticastSocket classes.
The Controller Area Network (CAN) protocol is a method of communication between electronic elements in a car, such as engine management systems, active suspension, central locking, air conditioning, and airbags, among others.
is very good e learning classes here
way of explaining things is very good.
Samjhe nahi aaya kabhi kabhi 2,4 second ke data kam nahi karta