2 @cindex packet acknowledgement
7 $ nncp-ack [options] NODE [PKT|rx]
10 Sent acknowledgement of successful @option{PKT} (Base32-encoded hash)
11 packet receipt. If @option{rx} is specified instead, then all
12 @option{NODE}'s existing @code{rx} packets will be acknowledged.
14 General workflow with acknowledgement is following, assuming that
15 Alice has some outbound packets for Bob:
19 @item Transfer an encrypted packets, without deleting them locally:
22 alice$ nncp-xfer -keep -tx -node bob /mnt/shared
25 @item On Bob's side retrieve those packets:
28 bob$ nncp-xfer -rx /mnt/shared
31 That will also check if copied packets checksum is not mismatched.
33 @item Create ACK packets of received ones:
36 bob$ nncp-ack alice rx
39 @item Send those newly created packets back to Alice:
42 bob$ nncp-xfer -tx /mnt/shared
45 @item Get those acknowledgement packets and @ref{nncp-toss, toss} them:
48 alice$ nncp-xfer -rx /mnt/shared
52 Each ACK packet will remove kept corresponding outbound packets, because
53 Bob explicitly confirmed their receipt.
57 Similarly you can use it with @command{@ref{nncp-bundle}}, but do not
58 forget that by default it does not do checksumming of the packets, so
59 you should either use its @option{-check} option, or run
60 @command{@ref{nncp-check}} after.