Networking chapter IV
Upcoming SlideShare
Loading in...5
×
 

Networking chapter IV

on

  • 928 views

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

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

Statistics

Views

Total Views
928
Views on SlideShare
928
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Networking chapter IV Networking chapter IV Presentation Transcript

  • Compiled by: Jayakumar Balasubramanian Web: http://www.jwritings.com Email: [email_address]
  • Introduction
    • Basics of Embedded Systems
    • Program segments
    • The ‘fork()’ system call
    • Concurrent and Iterative servers
    • I/O multiplexing methods
    • Programming using select
  • Basics of Embedded Systems
    • Development system
    • Target
    • Cross compilers
    • Development process
    • Development challenges:
      • Less resources
      • Inter process communication issues
      • Timing problems
    • Process vs. Threads
  • Servers and connections
    • Servers:
      • Iterative servers
      • Concurrent servers
    • Connections
      • Control connections
      • Data connections
  • Apartment vs. Bungalow
  • Process Vs Threads
  • The fork()
  • Concurrent servers
  • Concurrent servers
  • I/O Multiplexing
    • Blocking I/O
    • Non-blocking I/O
    • I/O multiplexing (Select)
    • Asynchronous I/O
    • Signal driven I/O
  • Blocking I/O
  • Non-blocking I/O
  • I/O Multiplexing
  • Select() : The I/O Multiplexer
  • What does it do?
    • 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
  • 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);
  • Web : http://www.jwritings.com Email: [email_address]