UDP - User Datagram Protocol

User Datagram Protocol or UDP for short is very simple connectionless protocol that can be used to transfer datagram packets in both the direction.

UDP - User Datagram Protocol

User Datagram Protocol or UDP for short is very simple connectionless protocol that can be used to transfer datagram packets in both the direction.

UDP - User Datagram Protocol

UDP - User Datagram Protocol

     

User Datagram Protocol or UDP for short is very simple connectionless protocol that can be used to transfer datagram packets in both the direction. Client can send the datagram packets to server and it can also receive the reply from server. UDP does not provide the reliability nor ordering guarantees that TCP does.

  1. What is UDP?
    The User Datagram Protocol (UDP) is a transport protocol that supports Network Application. It layered on just below the ?Session? and sits above the IP(Internet Protocol) in open system interconnection model (OSI).
     
  2. UDP Client in Java
    In this section, you will know how to send any request or messages for UDP server by the UDP client. For this process you must require the destination IP address and destination port number. If you know both, then you send messages to UDP server.  

You can also develop the UPD server in Java that can process the data received on a particular port. This type of application is very useful in getting the data using UDP protocol. With the help of these tutorials you should be able to develop your own application in Java.

  1. UDP Server in Java
    Providing you information relating to all technicalities of UDP server. This section provides you the brief description and program of the UDP server only for received your messages or information.
      
  2. Sending and receiving information to the UDP Client in Java
     Here, you will provide send and receive information by the UDP client in Java. UDP client sends information or messages to UDP server and it collects some messages from UDP server.
     
  3. Receiving and sending a request to UDP server in Java
    Here, you will know how to receive and send messages by UDP server. First of all, UDP server receives messages and sends some information to UDP client.
     
  4. Multicast in Java
    This section introduces you how to deliver or transmit data in network and describes the fundamental of various technique like: unicast, broadcast and multicast.
     
  5. Multicast Server in Java
    This section introduces how to receive and send the IP packet by the multicast server and provides the functionality of multicast server through program.
     
  6. Multicast Client in Java
    This section describes how to send and receive the IP packet or message by multicast client. Here, you provide many multicast clients and it's functionality for sending or receiving messages at a time.
      
  7. Experiment with UDP sockets
      
  8. Using Datagrams to get the Date
      
  9. And echo server using UDP sockets