[Pharo-project] Network training

Laval Jannik jannik.laval at gmail.com
Fri Feb 4 09:19:59 CET 2011


but how can i find these ip address in pharo?



Le 4 févr. 2011 à 07:49, Noury Bouraqadi <bouraqadi at gmail.com> a écrit :

> 
> On 4 févr. 2011, at 06:43, jannik.laval wrote:
> 
>> 
>> A first question: 
>> I use "NetNameResolver localHostAddress" to retrieve my network address. Now in computers, there are multiple addresses. 
>> I do not find a method to retrieve a collection of my address and it seems to be not possible, because it uses primLocalAddress, which is a primitive returning one local address.
>> 
>> Does it exist something to have all my ip address?
>> 
> I'm not aware of such thing, though we need it.
> Note that you can however force a server socket to listen for connections on any IP of your machine.
> 
> Noury
> 
> 




More information about the Pharo-project mailing list