Search Results

Search: Posts Made By: ouou
Forum: Programming 06-14-2011
4,299
Posted By ouou
help:wrong behavior code:client-server IPC signal handling on POSIX Message Queue UNIX C programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:

client:Knock Knock...
Forum: Programming 06-10-2011
2,189
Posted By ouou
Thanks for your continue help. I tried this...
Thanks for your continue help.

I tried this before, just leave the kill (getppid(),SIGTERM) there,it can't terminate the program. in my main(), I put waitpid(childpid,NULL,0);

please help
...
Forum: Programming 06-10-2011
2,189
Posted By ouou
kill() function problem in client-server ipc message using 2 FIFOs
I want to have a message send & receive through 2 uni-direction FIFO

Flow of data

FIFO1

stdin--->parent(client) writefd--->FIFO1-->child(server) readfd

FIFO2

child(server)...
Forum: Programming 06-09-2011
3,666
Posted By ouou
please help a problem in client-server ipc message 2 pipes communication simple example
I want to have a message send & receive through 2 half-duplex pipes

Flow of data

top half pipe
stdin--->parent(client) fd1[1]--->pipe1-->child(server) fd1[0]

bottom half pipe ...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy