#include <tftp.h>
#include <device.h>
syscall tftpSendACK |
( |
int |
udpdev, |
|
|
ushort |
block_number |
|
) |
| |
Send a TFTP ACK (Acknowledge) packet over a UDP connection to the TFTP server. For TFTP Get transfers, this informs the TFTP server that a given data packet (having a specific block number) has been received. Not intended to be used outside of the TFTP code.
- Parameters
-
udpdev | Device descriptor for the open UDP device. |
block_number | Block number to acknowledge. |
- Returns
- OK if packet sent successfully; SYSERR otherwise.