我怎样创建一个有名管道?
什么是有名管道?
The pipe and named pipe are also simple mechanisms.
管道和命名管道也很简单。
A socket functions much like a named pipe but can span hosts.
套接字的功能与命名管道很相似,但是可以跨主机。
Step 1 — create a named pipe and send uncompressed data to the pipe
步骤1 —将创建一个指定管道,并将未压缩的数据发送给管道
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命令来创建指定管道。
When you run TestPipe, it creates a named pipe called \ \. \ pipe \ mynamedpipe and connects to the pipe.
运行TestPipe时,它将创建一个指定管道\ \. \ pipe \mynamedpipe,并连接到该管道。
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.
如名所示,命名管道工作起来与管道一样:你在一端输入数据,另一端输出同样的数据。
Gets or sets the maximum number of connections, both inbound and outbound, that are allowed to endpoints configured with the named pipe binding.
入站的最大连接数与出站的最大连接数设置为同一个值。
Creates or opens a file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe.
创建或者打开一个文件,文件流,目录,物理磁盘,卷,控制台缓冲,磁盘驱动器,通讯资源,邮槽,或命名管道。
Use the code in Listing 3 to create a named pipe on Windows using the native methods declared in the Pipes.h header file and implemented in the pipe.c.
使用清单3中的代码在Windows上创建一个指定管道(使用在Pipes . h头文件中声明并在Pipe . c代码中实现的本机方法。)
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.
当插件正常终止(命名管道中出现终止消息)时,或者在发现父进程已经终止时,这个守护进程就被终止。
However, if the object is using a machine resource (handle to file, named pipe, socket or similar), then it is more appropriate to use lists that stores Pointers to objects.
但是,如果对象是使用一台机器的资源(处理文件,命名管道,SOCKET或类似),然后这是比较适合让列表存储对象的指针。
More severe cases may be treated with a CPAP machine, so named because they maintain constant positive air pressure to the wind pipe to help users breathe easy at night.
严重一点的患者可能就得用CPAP机来治疗了,人们给它取这个名字是因为它能够给气管提供稳定的空气压力,借以帮助患者在夜间呼吸。
The pipe symbol indicates that the message's contents should be sent as input for the indicated program: a Python script named aci.py.
竖杠符号指定邮件内容应作为输入发送到某个指定的程序:一个名为 aci.py 的 Python脚本。
The Axis engine implements these two pipes, and these pipes are named in pipe and Out pipe.
Axis引擎实现了这两个管道,分别是InPipe和Out Pipe。
This paper introduces a new cementing tool named circulating blind pipe, and it's mechanical structure, operation principle and successful applications while cementing a liner in a lost well.
详细介绍了一种新型固井用井下工具——可循环盲板的结构、工作原理及其在漏失井筛管固井中的成功应用。
A new pile-driven technology named air curtain dry soil withdrawal can reduce resistance of a sinking pipe by withdrawing soil from the pipe and installing air curtain on the outside of pipe.
空气幕、套管内干取土沉管灌注桩这种新的施工工艺是通过套管内取土,套管外设空气幕来减少沉管阻力。
By deenergizing of coil, the control air actuates the3 - way valve pos. no. 29 through the pipe named "SUPPLY" and the3 - way magnet valve pos. no. 73, right frame.
由线圈的断电,控制空气促动三通阀29通过supply管路和三通电磁阀73右位。
Thin-wall Pipe Pile Using Cast-in-situ Concrete (named PCC) technology and the application in soil improvement of Shanghai Beihuan express way are introduced.
本文介绍了现浇混凝土薄壁管桩技术及其在上海北环高速公路软基加固中应用。
Side glowing optical fiber is also named as cylindrical surface emission fiber, linear optical fiber, leakage optical fiber, large diameter light pipe and even called as neon optical fiber.
侧面发光光纤又称通体发光光纤、线型光纤、泄漏型光纤、大口径导光管甚至还被称为霓虹光纤等。
Side glowing optical fiber is also named as cylindrical surface emission fiber, linear optical fiber, leakage optical fiber, large diameter light pipe and even called as neon optical fiber.
侧面发光光纤又称通体发光光纤、线型光纤、泄漏型光纤、大口径导光管甚至还被称为霓虹光纤等。
应用推荐