netlink icon indicating copy to clipboard operation
netlink copied to clipboard

netlink: add a version of Conn.Receive that doesn't allocate its own buffers

Open mdlayher opened this issue 5 years ago • 0 comments

This could speed things up significantly for big payloads, and then we can also get rid of the peek/loop/allocate logic and rely on the caller to provide a big enough buffer to read out all the available messages.

mdlayher avatar Jan 24 '21 15:01 mdlayher