Skip to content

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

Merged
tqchen merged 1 commit intoapache:mainfrom
MasterJH5574:tvm-dev/2024-08-19-socket-recvall-sendall
Aug 26, 2024
Merged

[Support] Fix the Read/Write of socket stream#17284
tqchen merged 1 commit intoapache:mainfrom
MasterJH5574:tvm-dev/2024-08-19-socket-recvall-sendall

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
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