I've started to play a little bit with network, you can see the repo: SockectExamples (you should have been added as dev) ;) Ben On Feb 4, 2011, at 9:48 AM, Igor Stasenko wrote:
On 4 February 2011 09:19, Laval Jannik <jannik.laval@gmail.com> wrote:
but how can i find these ip address in pharo?
perhaps by writing new primitive :)
Le 4 févr. 2011 à 07:49, Noury Bouraqadi <bouraqadi@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
-- Best regards, Igor Stasenko AKA sig.