[PD] get my ip

noskule noskule at gmx.net
Sat Jan 31 11:24:27 CET 2004


 . .thanks for the replys . . .t did try several methods . . ..and found 
out, that, for my thing the netserver and netclient of the maxlib works 
perfect: bidirectional, unix, windows .. . .so the same patch for every 
system
nos


Hans-Christoph Steiner wrote:

>
> On Friday, Jan 30, 2004, at 19:22 America/New_York, Marc Lavallée wrote:
>
>> On Fri, Jan 30, 2004 at 11:54:16AM +0100, Orm Finnendahl wrote:
>>
>>> Copy the attached script "ip_num.sh" somewhere, ...
>>
>>
>> My version of the script (for Mandrake),
>> with the interface name as an argument.
>> -----------------------------------------------
>> #!/bin/sh
>> ifconfig $1 | grep 'inet adr:' \
>> | sed -e 's/ \+inet adr:\([0-9|.]\+\).*$/\1/g'
>> -----------------------------------------------
>>
>> For example:
>> ip_num.sh eth0
>
>
> Now for the real challenge:  write a script that works on all of the  
> platforms that Pd does.  ;)
>
> .hc
> ________________________________________________________________________ 
> ____
>
> Using ReBirth is like trying to play an 808 with a long stick.
>                                 -David Zicarelli
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>






More information about the Pd-list mailing list