Module nbd::server

source ·
Expand description

Items for implementing NBD server

“Serialize” your Read+Write+Seek into a Read+Write socket using standard protocol.

Re-exports§

Constants§

  • Recommended port for NBD servers, especially with new handshake format. There is some untested, doc-hidden old handshake support in this library.

Functions§

  • Passes the requested export name to the provided callback to get the requested export
  • Serve given data. If readonly, use a dummy Write implementation.