[squeak-dev] NetNameResolver useOldNetwork seems perhaps too conservative?

Tony Garnock-Jones tonyg at leastfixedpoint.com
Tue Jun 7 07:52:35 UTC 2022


Hi all,

In Socket>>initialize:family:, there's a line

  NetNameResolver useOldNetwork ifTrue: [ ^self initialize: socketType ].

that has been conserved across all the versions of the method I have in 
my image (back to 2010).

What harm would be done if we simply *removed it*, do we think? It seems 
bad to *pretend* to allocate a socket of the requested family but really 
to not do so!

Tony


More information about the Squeak-dev mailing list