lundi 21 avril 2014

Windows - Java peut agissent comme un serveur de canaux nommés ? -Débordement de pile


I know Java can act as a client for reading/writing named pipes, but I need another program which acts as a server.


In this case the program I am communicating with must act as the client, rather than the server. Is it possible for Java to act in server mode for named pipes?


EDIT: In named pipes (Windows) there are client and server modes. A server must first be established before a client can connect to it. I have a legacy application which acts as a 'client', this means that it connects to what it assumes is an already established named pipe. I have a new java application which I would like to have communicate with this legacy app using named pipes. I have only found examples of how to use Java named pipes in connection to previously established named pipes.



I know Java can act as a client for reading/writing named pipes, but I need another program which acts as a server.


In this case the program I am communicating with must act as the client, rather than the server. Is it possible for Java to act in server mode for named pipes?


EDIT: In named pipes (Windows) there are client and server modes. A server must first be established before a client can connect to it. I have a legacy application which acts as a 'client', this means that it connects to what it assumes is an already established named pipe. I have a new java application which I would like to have communicate with this legacy app using named pipes. I have only found examples of how to use Java named pipes in connection to previously established named pipes.


0 commentaires:

Enregistrer un commentaire