[PD] Get IP from Pd + network broadcast

João Pais jmmmpais at gmail.com
Fri Jan 22 19:41:25 CET 2021


Hi list,


I wanted to check if there are any new methods to get one's own ip from 
Pd - that is, so that a user doesn't go check the system settings. It 
would be necessary for all windows, macos and linux. Older messages talk 
about using [shell] in unix systems, and some hack with a batch file in 
windows. If this is still the current method, how would one activate a 
batch file in windows from inside pd?


As my knowledge of network isn't that good, just to check: to send a 
broadcast message for all peers in the same network, is the correct IP 
e.g. xxx.xxx.xxx.255? I read somewhere that 255.255.255.255 was also for 
broadcast, but since it's not working I imagine I read wrong.

Resuming: to send a broadcast message in the network, it's necessary to 
know the first 3 parts of one's IP?


And final question: besides netpd, are there any known public patches 
where users from several networks can connect to and send/receive data?


Best,

jmmmp






More information about the Pd-list mailing list