Interacting between applications.
-
I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?
The ANZAC
-
I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?
The ANZAC
-
I haven't used it and I'm not really keen to. Just trying to look for a quick and dirty solution. If it is effective i'll work up a more efficient application later. For now i just want to use technologies i am familiar with.
Please check out my articles: The ANZAC's articles
-
I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?
The ANZAC
Couldn't your service set up an xml file for each user on the server. Then the service just needs to poll for updates to the xml file, which can be updated by the clients.
-
I haven't used it and I'm not really keen to. Just trying to look for a quick and dirty solution. If it is effective i'll work up a more efficient application later. For now i just want to use technologies i am familiar with.
Please check out my articles: The ANZAC's articles
-
I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?
The ANZAC
The ANZAC wrote:
So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?
Perhaps you can modify the example of the
TcpListener
[^] class to suit your needs :)I are Troll :suss: