简体   繁体   中英

How to connect named pipe c# server to that of named pipe php client

For the php , i used,

<?php
$pipe = popen("water-Pipe",'r+');
$read = fread($pipe,10);
echo $read;
pclose($pipe);
?>

It does not connect. In the c#, same file descriptor is used in NamedPipeServerStream . Any help?

Have you heard of WCF ?

Here is a question on how to connect a C# project with PHP

Windows Communication Foundation is a very handy tool for communication between programs and services, even written in different program languages. You don't need to make the complex connections. This will be made for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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