|
|
|
@@ -23,13 +23,6 @@ end |
|
|
|
local_port = randi([49152 65535]); |
|
|
|
remote_port = 3040; |
|
|
|
|
|
|
|
%%Magic |
|
|
|
udpmagic = udp('10.255.255.255',12345); |
|
|
|
fopen(udpmagic); |
|
|
|
fwrite(udpmagic,'windows moet dood'); |
|
|
|
fclose(udpmagic); |
|
|
|
delete udpmagic |
|
|
|
|
|
|
|
%% setup dsp to send and recieve udp packets. |
|
|
|
udpconnection = udp('255.255.255.255',3040); |
|
|
|
%hudpr = dsp.UDPReceiver('LocalIPPort',local_port); |
|
|
|
|