我怎样创建一个有名管道?
The pipe and named pipe are also simple mechanisms.
管道和命名管道也很简单。
A socket functions much like a named pipe but can span hosts.
套接字的功能与命名管道很相似,但是可以跨主机。
The code in Listing 4 shows an example of using a named pipe in UNIX.
清单4中的代码展示了在UNIX中使用指定管道的示例。
什么是有名管道?
A named pipe is a Win32 mechanism for transferring data over process boundaries.
命名管道是一个在进程边界间传输数据的Win32机制。
With UNIX or Linux, you can create a named pipe with the mkfifo or mknod command.
在UNIX或Linux 中,您可以使用mkfifo 或mknod命令来创建指定管道。
Unable to impersonate using a named pipe until data HAS been read from that pipe.
在使用命名管道读取数据之前,无法经由该管道模拟。
This is because UNIX can create a named pipe directly using either the mkfifo or mknod command.
这是因为UNIX可以直接使用mkfifo或mknod命令来创建指定管道。
The named pipe addresses the latter shortcoming and is an excellent choice for data exchange on the same system.
命名管道克服了这个缺点,是在同一系统上交换数据的好方法。
As the name suggests, a named pipe works like a pipe: you enter data in one end, and the same data comes out the other end.
如名所示,命名管道工作起来与管道一样:你在一端输入数据,另一端输出同样的数据。
The daemon process is terminated either during normal plug-in termination (message in a named pipe to terminate) or if it is signaled that the parent process has terminated.
当插件正常终止(命名管道中出现终止消息)时,或者在发现父进程已经终止时,这个守护进程就被终止。
The daemon process is terminated either during normal plug-in termination (message in a named pipe to terminate) or if it is signaled that the parent process has terminated.
当插件正常终止(命名管道中出现终止消息)时,或者在发现父进程已经终止时,这个守护进程就被终止。
应用推荐