Hi Gjis van Oort,
Thanks a lot for your useful advice. It was very clear and easy for me to understand and followed.
However, I still have a little problem with this setting.
For your information, I've successfully connect this two IP through Simulink via UDP block between two real-time target system (one is HOST and another one is CLIENT)
I did it like this,
ON HOST windows (193.63.131.210):
> UDP Send to 193.63.131.220, port 4004,
> UDP Receive from 193.63.131.220, port 4003.
>
> ON CLIENT windows (193.63.131.220):
> UDP Receive from 193.63.131.210, port 4004,
> UDP Send to 193.63.131.210, port 4003.
everything is working fine.
So, then I add one more CLIENT called as CLIENT2 with IP 193.63.131.170 and send the same data to this client as per CLIENT.
ON CLIENT2 windows (193.63.131.170)
UDP Receive from 193.63.131.210, port 4002
UDP Send to 193.63.131.210, port 4001
So, I've to modify on the HOST windows to be
ON HOST windows (193.63.131.210):
> UDP Send to 193.63.131.220, port 4004,
> UDP Receive from 193.63.131.220, port 4003.
> UDP Send to 193.63.131.170, port 4002,
> UDP Receive from 193.63.131.170, port 4001.
So, now I've 3 windows to be executed.
And then, I give a sine input from HOST windows to see whether the IPs receive or not the signal given.
The result is..only CLIENT receive the signal from the HOST and send it back to the HOST
Receiver from HOST in CLIENT2 is ZERO. It didn't receive any signal from HOST but, the weird thing is Receiver in HOST window receive a signal (but not from CLIENT2)
So basically my question is: How to send data from HOST to more than one CLIENT.
My research is to connect THREE real-time target system (with 3 different IPs) and execute it via real-time platform in MATLAB.
Really need your help and I really get stuck in here.