August 2nd, 2016 by
In most embedded systems used in robotics, industrial automation, machinery and other industrial operations, communication is done mainly through real-time Fieldbus interface or Ethernet. However, the embedded system is included in a network that is built with sensors and other machines that exchange data via a connection-based protocol, which uses client/server model for data retrieval through requests and replies.
TCP was segmented into TCP and IP to ensure that applications that did not require the complexity of TCP can bypass it by using the UDP as a transport platform protocol, which is much simpler. UDP can be easily integrated into various protocols. The TCP/IP protocol stack comes with lots of options that can be applied within the RTOS environment.
Common Real-time Applications of TCP/IP
There are various real-time applications of TCP/IP that even most designers do not know about. The following are some of the common areas where real-time TCP/IP is applied;
- File Transfer Protocol (FTP, data and control), which is used in sending large files
- Simple Mail Transfer Protocol (SMTP): Relies on exchange of commands and can also send huge files across various machines.
- Post Office Protocol; a protocol for e-mail message retrieval that uses TCP to exchange commands and data.
- Telnet Protocol; An interactive session-based protocol that requires a similar platform to TCP.
- Internet Message Access Protocol (IMAP); also a protocol for retrieving e-mail messages.
- Border Gateway Protocol (BGP): This protocol runs on TCP, which enables it to assume reliable communication even if the data is often sent over very long distances.
- NetBIOS Session Service: A session protocol, we-suited for TCP than UDP.
Apart from the real-time applications of TCP/IP listed above, there are several other areas where it can also be applied like, Gopher Protocol, Network File System, and Internet Relay Chat among others. However, it should be noted that quite a number of protocols highlighted above can use both TCP and UDP, in case there is need for an experience of both worlds.
Generally, TCP is more suitable for exchanging larger files while UDP is best for simple messages.