[Pharo-project] Networking change in Pharo 1.2?

Marcus Denker marcus.denker at inria.fr
Tue Apr 19 19:24:52 CEST 2011


On Apr 19, 2011, at 5:16 PM, Chris Muller wrote:
> 
> Then I look at the new code called by #localHostAddress and becomes obvious why:
> 
> isConnected
> 	"Dirty, but avoids fixing the plugin bug"
> 	[NetNameResolver addressForName: 'www.esug.org'.] on:
> NameLookupFailure do: [:ex| ^false].
> 	^true
> 
> A hard-coded nslookup to 'www.esug.org' wrapped in an exception-handler?  Wow!

Ups.... (shamefuly looking somewhere else, as I harvested the change...)

We will fix it.

	Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.




More information about the Pharo-project mailing list