Skip to main content

Module send

Module send 

Source
Expand description

Sending: prepare-upload to a peer, then each accepted file as an upload.

Structs§

Entry
Peer
Where to send: a device found on the network.
Progress

Enums§

Outcome
Phase
SendItem
What the user chose to send.

Functions§

deliver
Ask the peer to accept entries, and send them once it does. Blocks. register is told each connection’s socket so another thread can break a wait by shutting it down; on hears progress after every chunk.
expand
The files behind the user’s choice. Folders are walked (symbolic links inside them are skipped); a chosen path that is a link is followed.