You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/MDNS.ts
+6-2
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,8 @@ class MDNS {
168
168
* @param opts.hostname - The hostname to use for the MDNS stack. Defaults to the OS hostname.
169
169
* @param opts.advertise - Allows MDNS to advertise it's hostnames. Defaults to true.
170
170
* @param opts.id - The unique unsigned 16 bit integer ID used for all outgoing MDNS packets. Defaults to a random number.
171
+
* @param opts.enableLinuxNativeSocketOptions - Enables Linux native code to disable `IP_MULTICAST_ALL` and `IPV6_MULTICAST_ALL` to lessen reliance on subnet filtering.
172
+
* This will access a deprecated property on the socket to get the file descriptor. Defaults to false.
171
173
* @throws {RangeError} - If `opts.groups` is empty.
172
174
* @throws {ErrorMDNSSocketInvalidBindAddress} - If a socket cannot bind.
173
175
* @throws {ErrorMDNSInterfaceRange} - If no valid interfaces have been found.
0 commit comments