aboutsummaryrefslogtreecommitdiff
path: root/lib/nonblock.c
diff options
context:
space:
mode:
authorMarcin Adamski <mass85@tlen.pl>2011-10-13 19:45:36 +0200
committerYang Tse <yangsita@gmail.com>2011-10-13 19:45:36 +0200
commit03adff1eba561c433a2667046c52d609322e684a (patch)
tree854a237b0cf48d6c343c738fa37a837888bc2bf9 /lib/nonblock.c
parent34770b8ab0f2881b7437ef73ca757957335997a0 (diff)
tftp.c: TFTP timeout and unexpected block adjustments
Set ACK timeout to 5 seconds. If we are waiting for block X and receive block Y that is the expected one, we should send ACK and increase X (which is already implemented). Otherwise drop the packet and don't increase retry counter.
Diffstat (limited to 'lib/nonblock.c')
0 files changed, 0 insertions, 0 deletions