PATCHER : Get IP address + Broadcast IP Win+Mac

Dan Tsui's icon

I am posting my abstraction here as I have been searching around for a universal solution for both operating systems to get the IP address of the machine and could not find one.

The right outlet will send out the broadcast IP if you are trying to transmit to multiple devices in the same network with the same port.

Hope this helps with your UDP objects.

Requires shell object here

Let me know if there are any bugs!

dtGetIPv1.maxpat
text/plain 550.52 KB

billyanok's icon

Great, thx.
B

Daniel Treystman's icon

Works great on MacOs.
Thanks!