Messages between MT4 terminals on the same network

 

Hi,

I have two VPS servers running on the same network (VPS1 and VPS2). 

I want to send a message from one MT4 terminal running on VPS1 to a different MT4 terminal which is running on VPS2.

Latency is not extremely important, however this process should not take longer than 500ms.

What do you think would be the best way to code this? Thanks in advance! 

 
I would use a socket if they would work - but maybe you can use a socket based on PowerShell 'talking' to PowerShell via mapped memory files.
 
jan100:

I have two VPS servers running on the same network (VPS1 and VPS2). 

I want to send a message from one MT4 terminal running on VPS1 to a different MT4 terminal which is running on VPS2.

Latency is not extremely important, however this process should not take longer than 500ms.

What do you think would be the best way to code this? Thanks in advance! 

If you can afford running a special web-server in the same network, you could push/poll data to it via WebRequest. The benefit of this approach is that you can extend number of interconnected terminals in future (if necessary) easily.
Reason: