[BUG] Problem with POPSocket

Andreas Raab Andreas.Raab at gmx.de
Tue Apr 23 16:36:21 UTC 2002


Ken,

> > Socket initializeNetwork
>
> Is it a requirement that this be run before
> any network access be made? 

Yes.

> If so, shouldn't it be run on image start every time?

No. It's just annoying if the system will try to dial up on your machine
when you have no need to access the network.

> Or maybe run at some point in network socket setup?

Well ... maybe. And maybe not. It could be done but at the cost of
having to do it from all over the places. Every time you create a socket
the system would try to initialize the network, every time you do a name
server lookup etc. etc. etc. Given that any given application needs to
this call in only a very few places it seems overkill to do it over and
over again.

Cheers,
  - Andreas




More information about the Squeak-dev mailing list