graygelf
graygelf copied to clipboard
bind on ipv6
Hello, impossible to bind on ipv6 regards, Nicolas
server.listen(16343,'[fd00:0:5d80:0:c23f:d5ff:fe6f:ec58]')
This lib just uses Node.js dgram.bind under the hood, which should support ipv6:
https://nodejs.org/api/dgram.html#dgram_socket_bind_port_address_callback
In server.js , line 23 this._udp = dgram.createSocket('udp4')
Ahh, missed that. Yes, that would need to be udp6 in your case. Care to make a PR?