A specific question about tcp_write() failing: The normal check for space before calling tcp_write() seems to be: SendLen < tcp_sndbuf(pcb)
Which I assume checks to see if there is space enough in the output tcp queue. If this passes, then how would tcp_write ever fail with an err_mem result? Does this change if COPY(0) or COPY(1) is used for the apiflags? In other words, could memory still be required for data copy that is not checked by the tcp sndbuf queue space. If so, is there a check to test for available mem to copy data? Thanks, Chris. _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
