Your SlideShare is downloading. ×
0
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Networking chapter IV
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Networking chapter IV

897

Published on

Networking chapter IV covers certain advanced sockets aspects like fock() and select()

Networking chapter IV covers certain advanced sockets aspects like fock() and select()

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
897
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Compiled by: Jayakumar Balasubramanian Web: http://www.jwritings.com Email: [email_address]
  • 2. Introduction <ul><li>Basics of Embedded Systems </li></ul><ul><li>Program segments </li></ul><ul><li>The ‘fork()’ system call </li></ul><ul><li>Concurrent and Iterative servers </li></ul><ul><li>I/O multiplexing methods </li></ul><ul><li>Programming using select </li></ul>
  • 3. Basics of Embedded Systems <ul><li>Development system </li></ul><ul><li>Target </li></ul><ul><li>Cross compilers </li></ul><ul><li>Development process </li></ul><ul><li>Development challenges: </li></ul><ul><ul><li>Less resources </li></ul></ul><ul><ul><li>Inter process communication issues </li></ul></ul><ul><ul><li>Timing problems </li></ul></ul><ul><li>Process vs. Threads </li></ul>
  • 4. Servers and connections <ul><li>Servers: </li></ul><ul><ul><li>Iterative servers </li></ul></ul><ul><ul><li>Concurrent servers </li></ul></ul><ul><li>Connections </li></ul><ul><ul><li>Control connections </li></ul></ul><ul><ul><li>Data connections </li></ul></ul>
  • 5. Apartment vs. Bungalow
  • 6. Process Vs Threads
  • 7. The fork()
  • 8. Concurrent servers
  • 9. Concurrent servers
  • 10. I/O Multiplexing <ul><li>Blocking I/O </li></ul><ul><li>Non-blocking I/O </li></ul><ul><li>I/O multiplexing (Select) </li></ul><ul><li>Asynchronous I/O </li></ul><ul><li>Signal driven I/O </li></ul>
  • 11. Blocking I/O
  • 12. Non-blocking I/O
  • 13. I/O Multiplexing
  • 14. Select() : The I/O Multiplexer
  • 15. What does it do? <ul><li>This function allows the process to instruct the kernel to wait for any one of multiple events to occur and to wake up the process only when one or more of these events occurs or when a specified amount of time has passed </li></ul>
  • 16. The syntax for ‘select()’ int numfds; struct timeval timeout; fd_set rfds; fd_set wfds; fd_set efds; s=select (numfds, &amp;rfds, &amp;wfds, &amp;exfds, &amp;timeout);
  • 17. Web : http://www.jwritings.com Email: [email_address]

×