Skip to content

Conversation

@ajjahn
Copy link
Contributor

@ajjahn ajjahn commented Dec 10, 2021

This addresses similar issues outlined in #20 and #10 with regard to sending data.

  • A return value of zero after calling send indicates the socket connection died and we should raise an error.
  • socket.send does not guarantee all bytes will be sent in a single call, so we continue sending chunks until all is sent.

`socket.send` does not guarantee all bytes will be sent in a single
call. Return value of zero indicates the socket connection died.
@cdrx cdrx merged commit 00f5841 into cdrx:master Dec 11, 2021
@cdrx
Copy link
Owner

cdrx commented Dec 11, 2021

Thank you

@cdrx
Copy link
Owner

cdrx commented Apr 30, 2022

This has been published to PyPi, in version 1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants