简体   繁体   English

是否可以在远程计算机上(通过IP地址)创建命名管道?

[英]Is it possible to Create a Named Pipe on a remote machine (by IP address)?

是否可以在远程计算机上(通过IP地址)创建命名管道?

No, you can't reference a host by IP address. 不,您不能通过IP地址引用主机。 For completeness: remote hosts are generally possible, you just have to reference the machine by its name. 为了完整起见:通常可以使用远程主机,您只需按其名称引用计算机即可。 The pipe name is constructed as follows: 管道名称的构造如下:

\\ServerName\pipe\PipeName

See MSDN on Pipe Names for further reading. 有关更多信息,请参见有关管道名称的MSDN

AFAIK Pipes in windows are not referenced by IP address. IP地址未引用Windows中的AFAIK管道。

You can create a named pipe for inter-process communication, or, create a winsock TCP socket - which is less popular on windows. 您可以创建一个用于进程间通信的命名管道,或者创建一个winsock TCP套接字-在Windows中不那么流行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM