|
|
@@ -25,7 +25,7 @@ remote_port = 3040; |
|
|
|
|
|
|
|
|
%% setup dsp to send and recieve udp packets. |
|
|
%% setup dsp to send and recieve udp packets. |
|
|
udpconnection = udp('255.255.255.255',3040); |
|
|
udpconnection = udp('255.255.255.255',3040); |
|
|
udpconnection.LocalHost = '130.89.143.33'; |
|
|
|
|
|
|
|
|
udpconnection.LocalHost = '10.0.0.10'; |
|
|
%hudpr = dsp.UDPReceiver('LocalIPPort',local_port); |
|
|
%hudpr = dsp.UDPReceiver('LocalIPPort',local_port); |
|
|
% hudps = dsp.UDPSender('RemoteIPAddress','255.255.255.255','RemoteIPPort',remote_port,'LocalIPPortSource','Property','LocalIPPort',local_port); |
|
|
% hudps = dsp.UDPSender('RemoteIPAddress','255.255.255.255','RemoteIPPort',remote_port,'LocalIPPortSource','Property','LocalIPPort',local_port); |
|
|
% start recieving udp packets |
|
|
% start recieving udp packets |
|
|
|