Fix handling of callback result

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@379 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-11-08 16:43:06 +00:00
parent 69cbd66244
commit a2affa9a9c
4 changed files with 14 additions and 7 deletions
+4 -1
View File
@@ -185,7 +185,10 @@ struct uip_conn
/* Higher level logic can retain application specific information
* in the following:
*
* data_event() is called on all events.
* data_event() is called on all events. May return one of the following:
* UIP_CLOSE - Gracefully close the current connection
* UIP_ABORT - Abort (reset) the current connection on an error that
* prevents UIP_CLOSE from working.
* accept() is called when the TCP logic has created a connection
* connection_event() is called on any of the subset of connection-related events
*/