On Sat, 13 Mar 2010, John M McIntosh wrote:


On 2010-03-13, at 3:14 PM, Levente Uzonyi wrote:

On Sat, 13 Mar 2010, Alexander Lazarević wrote:

Isn't http://bugs.squeak.org/view.php?id=7392 just about this?

It seems to be. There seem to be no way to get the list of interfaces or the 
interface of a local ip address.

Yes, but that is not the question, the question is:

To answer your question: #localHostAddress should always return 127.0.0.1 or ::1, that could be a preference or senders should expect a list of ip addresses. A method named localAddresses or similar could return local ip addresses.


Levente


NetNameResolver localHostAddress


what does LOCAL HOST ADDRESS mean to you?

for use in like

sock2 connectTo: NetNameResolver localHostAddress port: 54321.

or

'http://localhost:8080/seaside' asUrl retrieveContents.


Offering a "NetNameResolver networkInterfaceThings" has different meaning?


Levente

--
===========================================================================
John M. McIntosh <[email protected]>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================





_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to