Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Eiffel > Re: Modular Pro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 12 Topic 876 of 913
Post > Topic >>

Re: Modular Protection vs Assertions ...

by llothar <llothar@[EMAIL PROTECTED] > Jul 31, 2007 at 11:26 AM

On 31 Jul., 13:59, Ulrich Windl <Ulrich.Wi...@[EMAIL PROTECTED]
>
wrote:

> Define "network error" not as CSMA/CD error (like a lost packet, a
mangled
> packet), but as a high level error, like an aborted TCP connection.
Those are
> quite rare (in a sane configuration). And I think it's much preferrable
to
> handle an unexpected problem via an exception rather than testing for an
error
> after every write to the network. (Similar for writing to files)

Well i still prefer something like the C standard library here.
Setting an error code on the first time we see it and then simply
ignore all operations on the socket and let the user check it when it
is necessary.

At the moment i'm writing a webserver and there it works fine without
any exception. Well maybe this simple request/response thing is much
too simple.




 12 Posts in Topic:
Modular Protection vs Assertions ...
bravegag <bravegag@[EM  2007-07-28 06:40:53 
Re: Modular Protection vs Assertions ...
Colin LeMahieu <clemah  2007-07-29 01:08:25 
Re: Modular Protection vs Assertions ...
llothar <llothar@[EMAI  2007-07-29 04:24:56 
Re: Modular Protection vs Assertions ...
Ulrich Windl <Ulrich.W  2007-07-31 08:59:00 
Re: Modular Protection vs Assertions ...
Ulrich Windl <Ulrich.W  2007-07-31 08:54:06 
Re: Modular Protection vs Assertions ...
llothar <llothar@[EMAI  2007-07-31 11:26:53 
Re: Modular Protection vs Assertions ...
bravegag <bravegag@[EM  2007-07-31 23:57:33 
Re: Modular Protection vs Assertions ...
bravegag <bravegag@[EM  2007-08-01 00:14:09 
Re: Modular Protection vs Assertions ...
Ulrich Windl <Ulrich.W  2007-08-02 10:47:43 
Re: Modular Protection vs Assertions ...
llothar <llothar@[EMAI  2007-08-01 01:39:38 
Re: Modular Protection vs Assertions ...
llothar <llothar@[EMAI  2007-08-01 01:42:00 
Re: Modular Protection vs Assertions ...
Colin LeMahieu <clemah  2007-08-01 07:27:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 11:01:03 CDT 2008.