Socket Exceptions (was: Re: POP/SMTP without user interaction?)

Michael Rüger m.rueger at acm.org
Tue May 30 16:29:21 UTC 2000



Stefan Matthias Aust wrote:

> Has anybody already changed things like POPSocket and SMTPSocket so
> that they'll work in a GUI-less environment?  At the moment, both
> classes will prompt the user in #waitForDataQueryingUserEvery:
> which is, well, not the best idea.  I also dislike that this method
> will emit errors using #error: instead of generating more appropriate
> SocketExceptions.

We should start with defining some basic socket exceptions:

- connection timed out
- connection refused
- connection closed
- host not responding

Please add to the list :-)

Michael


-- 

+------------------------------------------------------------+
| Michael Rueger    m.rueger at acm.org       ++49-391-733 9808 |
+------------------------------------------------------------+





More information about the Squeak-dev mailing list