1 / 6

Project Title: Establishing communication between the server and Envirobat using TCP/IP

Project Title: Establishing communication between the server and Envirobat using TCP/IP. Presented by Apourva.P. Currently, User Datagram Protocol (UDP) is used being used as the transport layer protocol to facilitate communication between the device and the server.

Télécharger la présentation

Project Title: Establishing communication between the server and Envirobat using TCP/IP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Project Title: Establishing communication between the server and Envirobat using TCP/IP Presented by Apourva.P

  2. Currently, User Datagram Protocol (UDP) is used being used as the transport layer protocol to facilitate communication between the device and the server. The client side is programmed using Embedded C and the server side is programmed using Java network programming. My objective is to implement TCP/IP for communication between the device and the server. The following table shows some of the major differences between TCP and UDP and which protocol is preferred for a specific application :

  3. One of the important factors to be considered during the implementation for TCP is the identification of message boundaries. UDP preserves message boundaries whereas TCP doesn’t. Eg : Send 3 packets -‘good’ ‘morning’ ‘everyone’ using UDP. Each of these is sent as a separate datagram. Each receive function call at the receiver will obtain each of these datagrams from the buffer. TCP however is a stream oriented protocol. It does not preserve message boundaries. The send and receive calls will send and obtain all the data in the buffer which may be more than one message or even a fraction of the message. Hence, we have to explicitly code the identification of message boundaries.

  4. This is usually implemented in 3 ways: • Send fixed sized packets. • Use a delimiter to distinguish the message boundary. • Prefix each message with the length of the message.

  5. Thank you.

More Related