Mojo::TFTPd::Connection - A connection class for Mojo::TFTPd
See Mojo::TFTPd
The negotiated blocksize. Default is 512 Byte.
Useful to check inside "finish" in Mojo::TFTPd events to see if anything has gone wrong. Holds a string describing the error.
The filename the client requested to read or write.
This must be set inside the rrq or rrw event or the connection will be dropped.
Either "ascii", "octet" or empty string if unknown.
The IP address of the remove client.
Packet address of the remote client.
Number of times "send_data" or "send_ack" can be retried before the connection is dropped. This value comes from "retries" in Mojo::TFTPd.
The UDP handle to send data to.
Contains extra parameters the client has provided. These parameters are stored in an array ref.
This method is called when the server sends DATA to the client.
This method is called when the client sends ACK to the server.
This method is called when the client sends DATA to the server.
This method is called when the server sends ACK to the client.
Used to report error to the client.
Jan Henning Thorsen - jhthorsen@cpan.org
jhthorsen@cpan.org
To install Mojo::TFTPd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::TFTPd
CPAN shell
perl -MCPAN -e shell install Mojo::TFTPd
For more information on module installation, please visit the detailed CPAN module installation guide.