9

 

 

Network Communication

 

CONTENTS

9.1 The Ethernet Protocol

9.2 TCP/IP and UDP

9.3 Sockets

9.3.1 TCP/IP Sockets

9.4 UDP Sockets

9.5 Summary

We have seen in chapters 7 and in 8 how processes and threads can communicate within the same computer. This chapter will introduce the concepts and interfaces for achieving communication among different computers to implement distributed applications. Distributed applications involving network communication are used in embedded systems for a variety of reasons, among which are

  • Computing Power: Whenever the computing power needed by the application cannot be provided by a single computer, it is necessary to distribute the application among different machines, each carrying out a part of the required ...

Get Real-Time Embedded Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.