package
0.0.0-20241225211424-42e8fcaa5c3f
Repository: https://github.com/nicholas-fedor/network-programming-with-go.git
Documentation: pkg.go.dev

# Packages

Page 135 Listing 6-11: Command line TFTP server implementation.

# Constants

the DatagramSize minus a 4-byte header.
the maximum supported datagram size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Our server supports four operations: A read request (RRQ), a data operation, an acknowledgement, and an error.
Our server supports four operations: A read request (RRQ), a data operation, an acknowledgement, and an error.
Our server supports four operations: A read request (RRQ), a data operation, an acknowledgement, and an error.
Our server supports four operations: A read request (RRQ), a data operation, an acknowledgement, and an error.

# Structs

Page 126 Listing 6-4: Date type and its binary marshaling method.
Page 129 - 130 Listing 6-7: Error type used for conveying errors between the client and server.
The struct representing the read request needs to keep track of the filename and the mode.
No description provided by the author

# Type aliases

Pages 128 - 129 Listing 6-6: Acknowledgement type implementation.
We define a series of unsigned 16-bit integer error codes per the RFC.
The first two bytes of a TFTP packet's header is an operation code.