LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2010, 03:48 AM   #1
bkankru
LQ Newbie
 
Registered: Nov 2009
Posts: 10

Rep: Reputation: 0
Which IPC method are Platform independent ?


Dear Friends,

We are normally using IPC for exchange of data between multiple threads or processes. Out of following IPC which are platform independent and why they are platform independent?
1. FILEs
2. Socket
3. Named Pipes
4. Shared Memory
5. Message Queue.

Have a Good Day,
Thank you,
Ankur.
 
Old 04-17-2010, 12:49 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. All are common across all *nix (Linux, Unix, BSD, etc)

2. Only file (read/write OS file) and sockets (read/write TCP/IP stream or datagrams) are common between *nix, Windows and other OS's (embedded, mainframe, etc).

3. Most OS's have analogs of named pipes, shared memory and message queues, but the names and semantics differ from platform to platform.

4. I would also include "signals" and "semaphores" on your list (you might be able to think of other IPCs, too).

5. Here's a great tutorial: Beej's Guide to IPC

Last edited by paulsm4; 04-17-2010 at 12:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Platform Independent LXer Syndicated Linux News 0 01-23-2010 12:42 AM
Platform independent Korganizer xri Linux - Software 3 02-22-2008 05:00 PM
platform independent anoop ss Linux - General 2 08-23-2007 02:18 AM
Installing platform independent tar.gz lin00b Linux - Newbie 6 09-23-2004 03:51 AM
proper design for a platform independent applicaiton jwstric2 Programming 1 05-31-2004 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration