$ nncp-ack [options] -all $ nncp-ack [options] -node NODE[,…] $ nncp-ack [options] -node NODE -pkt PKT
Send acknowledgement of successful PKT (Base32-encoded hash)
packet receipt from NODE node. If no -pkt is
specified, then acknowledge all packet in node’s rx
outbound
spool. If -all is specified, then do that for all nodes.
General workflow with acknowledgement is following, assuming that Alice has some outbound packets for Bob:
alice$ nncp-xfer -keep -tx -node bob /mnt/shared
bob$ nncp-xfer -rx /mnt/shared
That will also check if copied packets checksum is not mismatched.
bob$ nncp-ack -node alice
bob$ nncp-xfer -tx /mnt/shared
alice$ nncp-xfer -rx /mnt/shared alice$ nncp-toss
Each ACK packet will remove kept corresponding outbound packets, because Bob explicitly confirmed their receipt.
Similarly you can use it with nncp-bundle
, but do not
forget that by default it does not do checksumming of the packets, so
you should either use its -check option, or run
nncp-check
after.