Click here to Skip to main content
15,884,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone, thank you in advance for your time.

I've come across on this case scenario:

* I have a TCP connection to a server. Result of that connection is a network stream.
* I'm continuously reading the stream with ReadAsync method, than work with that data, inside while loop.
* Let's assume that handling the data has a duration of 1s, just for the sake of a discussion.

I'm not sure what will happen to the stream if the buffer get full while I handle data. Is there a possibility that some information will be lost?

What I have tried:

I've referenced a few books and articles but I still don't get it.
Posted
Updated 18-Mar-20 2:58am
v2
Comments
Mohibur Rashid 18-Mar-20 3:32am    
read this https://accedian.com/enterprises/blog/tcp-receive-window-everything-need-know/ specially the part with zero window
1suli0 18-Mar-20 4:20am    
Thank you. It's quite clear now.
CHill60 18-Mar-20 7:41am    
As the OP has confirmed this link helped why not post it as a solution to make the question drop out of the unanswered list

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900