Your SlideShare is downloading. ×
0
Compiled by: Jayakumar Balasubramanian Web:  http://www.jwritings.com Email:  [email_address]
Introduction <ul><li>Basics of Embedded Systems </li></ul><ul><li>Program segments </li></ul><ul><li>The ‘fork()’ system c...
Basics of Embedded Systems <ul><li>Development system  </li></ul><ul><li>Target </li></ul><ul><li>Cross compilers </li></u...
Servers and connections <ul><li>Servers: </li></ul><ul><ul><li>Iterative servers </li></ul></ul><ul><ul><li>Concurrent ser...
Apartment vs. Bungalow
Process Vs Threads
The fork()
Concurrent servers
Concurrent servers
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>...
Blocking I/O
Non-blocking I/O
I/O Multiplexing
Select() : The I/O Multiplexer
What does it do? <ul><li>This function allows the process to instruct the kernel to wait for any one of multiple events to...
The syntax for ‘select()’ int numfds;   struct timeval timeout;   fd_set rfds;   fd_set wfds;   fd_set efds;   s=select (n...
Web  :  http://www.jwritings.com Email:  [email_address]
Upcoming SlideShare
Loading in...5
×

Networking chapter IV

905

Published on

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
905
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Networking chapter IV"

  1. 1. Compiled by: Jayakumar Balasubramanian Web: http://www.jwritings.com Email: [email_address]
  2. 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. 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. 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. 5. Apartment vs. Bungalow
  6. 6. Process Vs Threads
  7. 7. The fork()
  8. 8. Concurrent servers
  9. 9. Concurrent servers
  10. 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. 11. Blocking I/O
  12. 12. Non-blocking I/O
  13. 13. I/O Multiplexing
  14. 14. Select() : The I/O Multiplexer
  15. 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. 16. The syntax for ‘select()’ int numfds; struct timeval timeout; fd_set rfds; fd_set wfds; fd_set efds; s=select (numfds, &rfds, &wfds, &exfds, &timeout);
  17. 17. Web : http://www.jwritings.com Email: [email_address]
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×