You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that sometimes my output file on the receiver end come out short a few tens of bytes while the screen clearly displayed that the receiver received everything.
I think it problem could be the buffer, therefore I suggest you flush before you close the outfile, or flush right after you write.
-Student in EE122-
Tam Do
The text was updated successfully, but these errors were encountered:
We don't actually close the file until the connection times out (ten seconds after we receive the last packet). This is the intended behavior. Thanks though!
I notice that sometimes my output file on the receiver end come out short a few tens of bytes while the screen clearly displayed that the receiver received everything.
I think it problem could be the buffer, therefore I suggest you flush before you close the outfile, or flush right after you write.
-Student in EE122-
Tam Do
The text was updated successfully, but these errors were encountered: