Commits

Andy Green authored 85dc0883a2e
ss: handle rx and tx return values properly You can disconnect the stream by returning -1 from tx(). You can give up your chance to send anything by returning 1 from tx(). Returning 0 sends `*len` amount of the provided buffer. Returning <0 from rx() also disconnects the stream.