Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: linux进程之间的通讯综合实例 Download
 Description: A<========>B<=========>C<=====>D<======>E Between the A and the B processes, the process of master socket is passed through the socket of the TCP: A server side: Socket -->bind---->listen---->accept send read B client: Socket-->connect->read send Do not understand the ability to man man socket B and C interact with shared memory The step is: shmget->shmat-> read and write --->shmdt shmctl directly (delete) Can man Message passing between C and D Msgget-->msgrcv->msgsnd (note that the return value here determines whether to send correctly or not the number of bytes sent) D uses fork () to create a process E Interaction between D and E using anonymous pipes E programs can communicate with famous pipes.
 Downloaders recently: [More information of uploader 小宝]
 To Search:
File list (Check if you may need any files):
FilenameSizeDate
B_tcp_client_shm_fifo.c 2454 2017-09-22
C_shm_msg.c 2045 2017-09-22
D_msg_fork_pipe.c 3631 2017-09-22
A_tcp_service.c 2457 2017-09-20

CodeBus www.codebus.net