Example usage for Java org.apache.commons.net.tftp TFTPPacket fields, constructors, methods, implement or subclass
The text is from its open source code.
int | READ_REQUEST This is the actual TFTP spec identifier and is equal to 1. |
int | WRITE_REQUEST This is the actual TFTP spec identifier and is equal to 2. |
int | DATA This is the actual TFTP spec identifier and is equal to 3. |
int | ACKNOWLEDGEMENT This is the actual TFTP spec identifier and is equal to 4. |
int | ERROR This is the actual TFTP spec identifier and is equal to 5. |
InetAddress | getAddress() Returns the address of the host where the packet is going to be sent or where it came from. |
int | getPort() Returns the port where the packet is going to be sent or where it came from. |
int | getType() Returns the type of the packet. |