mildsunrise / node_netlink

⚒ Use Netlink from Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multipart response

latysheff opened this issue · comments

Hi! Great module, thanks.

Can you please add support for multipart responses?

I guess, here one need to check MULTI flag, and collect responses, until NLMSG_DONE, and only then resolve Promise:

err ? reject(err) : resolve([msg!, rinfo!])

You have flag description:

/** Multipart message, terminated by NLMSG_DONE */
    MULTI = 2,