Query about the working of picoquic_mark_active_stream #1819
-
I have modified the sample_server and sample_client provided in the sample folder to do the following :
I am trying to make correct use of the concept of hyperpolling as stated in send_receive_data.md. I have linked the modified sample code. The polling of data seems to stop after sometime even though data is continously sent in every callback or if data is not sent, picoquic_mark_active stream is called within the callback. The program seems to get stuck when picoquic_mark_active_stream is called within the callback most of the time. Is there anything that is wrong with the way im using picoquic_mark_active_stream ? sample_client.txt The modified lines in the code are as follows : |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I looked at your client code. I think the issue is with:
This code does not match the recommendation in `send_receive_data.md, which suggests writing:
|
Beta Was this translation helpful? Give feedback.
I looked at your client code. I think the issue is with:
This code does not match the recommendation in `send_receive_data.md, which suggests writing: