07-25-2005
Try the book "UNIX Network Programming, Volume 2, Second Edition: Interprocess Communications", by Richard Stevens.
Here is a link to some info about that book.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a parent that is passing data to child A and then child A has to process it and pass to child B. I am able to pass the data to child A but am not able to pass it to child B. Child B seems to only be receiving the last data instead of the whole data.
I saw one example in a book but it uses... (1 Reply)
Discussion started by: scmay
1 Replies
2. Programming
Hi! I'm trying to write this program: in my intentions it should get a message and send it to a second process (pid_upost), then to a third process (pid1, pid2, pid3, depending on the choice made when a new message is inserted). This program should write the message in a file (message1, message2 or... (1 Reply)
Discussion started by: Kaminski
1 Replies
3. Programming
Hi guys, I'm new to Linux and Unix I have just simple code . But I don't know why it doesn't work ..
But, the outputfile is Blank.. I don't understand why.. Please help me.. Thank you very much
P.S: sorry, I don't know how to edit this post clearly.. it's hard to read.. Please try.. (2 Replies)
Discussion started by: thanh_sam_khac
2 Replies
4. Solaris
I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies
5. Programming
Hi!
I wanted to know the advantages / disadvantages of different IPC mechanims such as sockets, pipes (unnamed) , shared memory & message queues.
Pipes for example i hear are fast , but are difficult to debug as compared to sockets.
Can you guys please name some situations where one is... (4 Replies)
Discussion started by: _korg
4 Replies
6. UNIX for Dummies Questions & Answers
hey everyone,
I'm reading a tutorial on the Mach kernel principles, however, the port and port rights part are kind of confusing to me. I don't know if the book has typos or something but it seems a bit contradictory. It says that "ports, themselves, are not named. It is the port rights that are"... (10 Replies)
Discussion started by: neur0n
10 Replies
7. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
8. Programming
Suppose I have 5 independent process divided in two imaginay sets:
set1 set2
---------------------
p1 p3
| |
p2 p4
|
p5
The processes inside each set communicate mutually quite often.
I mean p1 and p2 communicate mutually quite often
Similarly p3, p4 and p5 communicate mutually... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
9. HP-UX
Hi Experts,
Need your help for checking te interprocess communications settings on HP-UX box.
Using ipcs command I am able to view Message queue,semapohores etc, but from that output I m not able to understand how to determine if there is any issue with ipc settings and how to resolve that? (1 Reply)
Discussion started by: sai_2507
1 Replies
10. Shell Programming and Scripting
Actually i am thinking of some usefull application that involves both IPC and pthreads.But i am not quite sure what type of application involves both these together :confused:.
Anyways i am now working on creating a simple featured file manager that can do the following:
Display file name and... (2 Replies)
Discussion started by: ronmaximus
2 Replies
LEARN ABOUT OPENDARWIN
libdoor
libdoor(3LIB) Interface Libraries libdoor(3LIB)
NAME
libdoor - doors library
SYNOPSIS
cc [ flag... ] file... -ldoor [ library... ]
#include <door.h>
DESCRIPTION
The functions in this library provide programmatic access to doors, including the ability to create and call them. Doors are a fast light-
weight RPC mechanism for secure control transfer between processes on the same machine. Conceptually, a thread in one process can issue a
call using a door descriptor that causes code to be executed in another process and then returns using the traditional synchronous RPC
model. Doors can also be used to pass data and file descriptors between processes.
INTERFACES
The shared object libdoor.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
door_bind door_call
door_create door_cred
door_info door_return
door_revoke door_server_create
door_ucred door_unbind
FILES
/lib/libdoor.so.1 shared object
/lib/64/libdoor.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
intro(3), door_bind(3DOOR), door_call(3DOOR), door_create(3DOOR), door_cred(3DOOR), door_info(3DOOR), door_return(3DOOR),
door_revoke(3DOOR), door_server_create(3DOOR), door_ucred(3DOOR), attributes(5)
Stevens, W. Richard. UNIX Network Programming, Volume 2: Interprocess Communications, 2/e. Tucson, Ariz.: Prentice Hall, 1999.
SunOS 5.10 24 Mar 2004 libdoor(3LIB)