Not only that, a host may be multihomed.

On 12/10/2010 6:15 AM, Qi Ming Teng wrote:
> The only solution I can think of is to use ioctl for C++ backend on Linux 
> to get the IP address.  However, this approach may be too limited in terms 
> of platform portability and various NAT schemes.
>
> I have tried the following code to get IP address using native code, there 
> is no Java equivalent now...
>
>
>
> To try out this code: 
>
>  $ x10c++ -o tt TryIP.x10
>  $ ./tt
>
> Regards,
>   - Qiming
>



------------------------------------------------------------------------------
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to