Create a native Netlink socket, bound to the specified protocol at the specified local address (port).
If no port is passed, generateLocalPort will be used and bind will be retried until we find a free address.
Netlink protocol to bind to (see Protocol)
Socket options
Joins the specified multicast group
Return the address this socket is currently bound at.
Local address
Close the Netlink socket. After this, all other methods can no longer be called.
Leaves the specified multicast group
Returns the SO_RCVBUF
socket receive buffer size in bytes
Returns the SO_SNDBUF
socket send buffer size in bytes
References this socket, preventing the event loop from exiting while it is active. The socket is automatically referenced when it is created.
Sets the SO_RCVBUF
socket option. Sets the maximum socket receive buffer in bytes.
Sets the SO_SNDBUF
socket option. Sets the maximum socket send buffer in bytes.
Unreferences this socket. The socket is automatically referenced when it is created.
Generated using TypeDoc
TODO
Missing things:
events:
message
truncatedMessage
error
close