[Live-devel] Graceful handling of socket error
Ross Finlayson
finlayson at live555.com
Wed Sep 8 16:43:49 PDT 2010
I pretty much agree with this. What I'll probably do (in some future
release) is change the calls to "abort()" to some new virtual
function (of the "UsageEnvironment" class) called "internalError()"
(or something). The default implementation of this might still be to
call "abort()", but developers can easily reimplent this in their own
"UsageEnvironment" subclass if they wish.
And I also agree with you about C++ exceptions. (They do exist in a
couple of places in the code (to help implement byte-stream parsing),
but I'd like to get rid of them someday.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list