Ethernet icon indicating copy to clipboard operation
Ethernet copied to clipboard

socketSendAvailable() returns 0 when socket is closed

Open SapientHetero opened this issue 5 years ago • 0 comments

Recommend changing return type from uint16_t to int and adding code to detect socket states that preclude successful writes and report with them a negative return value so they can be differentiated from a full TX buffer.

SapientHetero avatar May 01 '19 04:05 SapientHetero