Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Support] Fix the Read/Write of socket stream #17284

Merged

Conversation

MasterJH5574
Copy link
Contributor

This PR fixes the dmlc::Stream::Read/Write for TCP socket. Given socket does not guarantee that all data are send received/sent in a single shot, we need to use RecvAll/SendAll.

This PR fixes the `dmlc::Stream::Read/Write` for TCP socket.
Given socket does not guarantee that all data are send received/sent
in a single shot, we need to use `RecvAll/SendAll`.
@MasterJH5574 MasterJH5574 force-pushed the tvm-dev/2024-08-19-socket-recvall-sendall branch from 37f9493 to 3a2a861 Compare August 23, 2024 14:39
@tqchen tqchen merged commit d5d5ebb into apache:main Aug 26, 2024
18 of 19 checks passed
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