{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chap_11Lesson03EmsysNewTCPStack

Chap_11Lesson03EmsysNewTCPStack - Design Examples and Case...

Info icon This preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 1 Design Examples and Case Studies of Design Examples and Case Studies of Program Modeling and Programming with Program Modeling and Programming with RTOS RTOS - - 1: 1: Lesson-3 CASE STUDY OF CODING FOR SENDING CASE STUDY OF CODING FOR SENDING APPLICATION LAYER BYTE STREAMS APPLICATION LAYER BYTE STREAMS ON A TCP/IP NETWORK USING RTOS ON A TCP/IP NETWORK USING RTOS VxWorks VxWorks
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 2 1. Specifications 1. Specifications
Image of page 2
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 3 TCP/IP Stack TCP/IP Stack In TCP/IP suite of protocols, application layer transfers the data with appropriate header words to transport layer. At transport layer, either UDP or TCP protocol is used and additional header words placed.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 4 TCP/IP Stack transmitting subsystem
Image of page 4
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 5 TCP/IP Stack TCP/IP Stack UDP is connection-less protocol for datagram transfer of total size including headers of less than 2 16 Byte. TCP is connection oriented protocol, in which data of unlimited size can be transferred in multiple sequences to the internet layer At internet layer, the IP protocol is used and IP packets are formed, each packet with an IP header transfers to the network through network driver subsystem.
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2008 Chapter-11 L03: "Embedded Systems - Architecture, Programming and Design" , Raj Kamal, Publs.: McGraw-Hill, Inc. 6 TCP/IP stack TCP/IP stack A TCP/IP stack network driver is available in the RTOSes It has a library, sockLib for socket programming. The reader may refer to VxWorks Programmer’s Guide when using these APIs and sockLib .
Image of page 6