文件名称:message
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:799byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
该程序首先通过fork()函数分别创建Client进程和Server进程,然后通过msgget()函数创建消息队列,由Client使用msgsnd()函数向Server进程发送一个消息,Server进程通过msgrcv()函数从消息队列中接收到消息后,通过msgsnd()函数向Client进程发送回一个响应,之后,通过sleep()函数,等待Client进程从消息队列中读取了消息后,删除消息队列。-The program first by fork () function, create separate Client process and the Server process, then msgget () function to create message queue by the Client using the msgsnd () function to send a message to the Server process, Server process, through the msgrcv () function from the message queue to receive the message through the msgsnd () function to send back a response to Client process, followed by sleep () function to wait for Client process from the message queue to read the message, delete the message queue.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
message.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
