Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode OS program Linux-Unix

linux进程之间的通讯综合实例

  • Category : Linux-Unix
  • Tags :
  • Update : 2017-12-15
  • Size : 4kb
  • Downloaded :0次
  • Author :数*****
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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.
Packet file list
(Preview for download)
FilenameSizeUpdate
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
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.