Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiver.py need flush ! #3

Closed
podabear opened this issue Sep 28, 2011 · 1 comment
Closed

Receiver.py need flush ! #3

podabear opened this issue Sep 28, 2011 · 1 comment

Comments

@podabear
Copy link

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

@shaddi
Copy link
Owner

shaddi commented Sep 28, 2011

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!

@shaddi shaddi closed this as completed Sep 28, 2011
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

No branches or pull requests

2 participants