[Pharo-project] Network training

Noury Bouraqadi bouraqadi at gmail.com
Fri Feb 4 07:49:17 CET 2011


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