Is there an object in pd which can get the ip address of the computer the patch is currently running on? Thanks for any information.
Mike
2009/7/5 matthem5@vt.edu
Is there an object in pd which can get the ip address of the computer the patch is currently running on? Thanks for any information.
in linux you can send an "ifconfig" comand to the shell object and then parse the message inside pd...
;;;
#N canvas 440 77 450 300 10; #X obj 27 107 shell; #X msg 27 13 ifconfig rausb0; #X obj 27 134 route inet; #X obj 27 171 unpack s s s s; #X symbolatom 27 216 10 0 0 0 - - -; #X msg 27 36 ifconfig wlan0; #X msg 27 58 ifconfig eth0; #X connect 0 0 2 0; #X connect 1 0 0 0; #X connect 2 0 3 0; #X connect 3 1 4 0; #X connect 5 0 0 0; #X connect 6 0 0 0;