[Pharo-project] Network training

Igor Stasenko siguctua at gmail.com
Fri Feb 4 09:48:16 CET 2011


On 4 February 2011 09:19, Laval Jannik <jannik.laval at 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 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
>>
>>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.




More information about the Pharo-project mailing list