Advanced IPC - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Advanced IPC

Description:

SVR supports some functions directly. BSD and Linux can use socket functions to emulate some SVR functions. 11/10/09. 2. Stream Pipes ... – PowerPoint PPT presentation

Number of Views:46
Avg rating:3.0/5.0
Slides: 5
Provided by: richarde78
Category:
Tags: ipc | advanced | svr

less

Transcript and Presenter's Notes

Title: Advanced IPC


1
Advanced IPC
  • primarily consist of stream pipes and named
    stream pipes
  • essentially full-duplex and named full-duplex
    pipes
  • SVR supports some functions directly
  • BSD and Linux can use socket functions to emulate
    some SVR functions

2
Stream Pipes
  • full-duplex pipe
  • native capacity of SVR3.2
  • can be emulated using BSD sockets
  • socketpair() function
  • typically used for networking, but can be used
    for local IPC

3
Passing File Descriptors
  • permits server to handle all file operations for
    client
  • passed descriptors are actually pointers to a
    file table entry
  • processes share entries
  • descriptor numbers may vary from sender to
    receiver
  • typically, sender will close descriptor after send

4
Client-Server Connection
  • full duplex pipes can be used for establishing
    client-server connections on a named pipe
  • pipes can be monitored for new clients and
    disconnection of old ones
  • services can be provided per-client on new
    pipes
  • the pipe monitored for connections is not used to
    establish the conversation between processes, a
    new pipe is created for each new connection
Write a Comment
User Comments (0)
About PowerShow.com