digidotcom / DCRabbit_9

This repository is the Open Source release of the libraries and sample code from Dynamic C 9, an integrated development environment for Digi International's embedded systems based on the Rabbit 2000 and 3000 microprocessors.
http://www.digi.com
Mozilla Public License 2.0
10 stars 11 forks source link

Update tcp.lib #6

Closed chetti5 closed 3 years ago

chetti5 commented 3 years ago

_rs_sock_puts() error result (-1) is not propagated / returned to caller function.

tomlogic commented 3 years ago

Thanks for reporting this. I see that it doesn't cover errors on sending the CRLF, or when sock_mode isn't TCP_MODE_ASCII. I've made those improvements and pushed the fix out in commit 14ea93224ebd. If you have a test case demonstrating the failure, please test it out with my patch.