Replies: 3 comments 9 replies
-
I have found that the client start print the sending log, but the server didn't get connected. After the client sent all frames with printing the log |
Beta Was this translation helpful? Give feedback.
-
@nibanks Could you please provide any suggestion about my question? |
Beta Was this translation helpful? Give feedback.
-
Please verify you are getting the |
Beta Was this translation helpful? Give feedback.
-
I have read all the stream docs and the sample demo, still have some confusion.
In the sample demo, what I think is that the client calls
StreamStart
, and the server getsQUIC_CONNECTION_EVENT_PEER_STREAM_STARTED
, then the client send theSendBuffer
, and the server getsQUIC_STREAM_EVENT_RECEIVE
, but there is only one send.I think that if I want to send data continuously, I just need create and send buffers continuously like these and the server will gets
QUIC_STREAM_EVENT_RECEIVE
and processes data continuously.the
ClientSend
functionthe
ServerStreamCallback
functionBut the code didn't work, the server start receive data after all data is sent. As docs says:
I know the client calls
StreamSend
is immediately complete, but even if I have enough frames to send, the server still couldn't receive any partial data. So did I make any mistakes? Any suggestions will help me, thanks.Beta Was this translation helpful? Give feedback.
All reactions