lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #6969] Review usage of conn->err in netconn layer


From: Simon Goldschmidt
Subject: [lwip-devel] [task #6969] Review usage of conn->err in netconn layer
Date: Sun, 21 Oct 2007 16:05:32 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7

Follow-up Comment #17, task #6969 (project lwip):

To make progress on this, I've made a list of all the places where conn->err
is checked:

api_lib.c:
netconn_recv -> dunno... we mustn't block on error...
netconn_send -> let do_send handle errors
netconn_write -> let do_write handle errors

api_msg.c:

do_listen -> state is already checked -> remove conn->err check
do_send -> remove conn->err check (udp_/raw_send will fail)
do_recv -> maybe check TCP state?
do_write -> check TCP state
do_join_leave_group -> ???

do_bind
 -> UDP/RAW: don't care / try again;
 -> TCP: check if pcb is in tcp_active_pcbs (not already bound or connected)


Any more ideas? Especially with do_join_leave_group and netconn_recv, I'm not
really sure...


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?6969>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]