SCTP Discussions

Text archives Help


[SCTP-Discussion] sctplib use of exit() and adl_sockunion2str()


Chronological Thread 
  • From: Marc Boucher <marc+sctp AT mbsi.ca>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] sctplib use of exit() and adl_sockunion2str()
  • Date: Fri Mar 23 16:37:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Hello Andreas, Michael, everyone,

shouldn't the sctplib abstain from calling exit() directly?
I believe that errors should always be propagated back to the
application which in turn can react as it deems necessary, and
first and foremost be given a chance to cleanup its own stuff.

Also, isn't it quite inefficient to call adl_sockunion2str for each
packet received just to pass an address in string form to
the callback, which might have to parse it again?

Regards
Marc Boucher



  • [SCTP-Discussion] sctplib use of exit() and adl_sockunion2str(), Marc Boucher, 03/23/2001

Archive powered by MHonArc 2.6.19+.

Top of page