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
add an interface field to ServiceConfig (though I'm not sure this is applicable to bonjour services)
create a new options type for configuring Bonjour itself (ServiceConfig may not be the appropriate type, but perhaps rather mDNS:Options)
The text was updated successfully, but these errors were encountered:
JensEggers
changed the title
Bonjour constructor options type does not match mDNS optinos type (missing interface field)
Bonjour constructor options type does not match mDNS options type (missing interface field)
Jun 17, 2024
it turns out that Node.js doesn't appear to receive multicast messages on UDP sockets bound to particular adapters, so the need to specify an adapter becomes irrelevant. This issue can probably close for that reason.
mDNS can be bound to a specified network interface via the interface property in its Options type (see https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/multicast-dns/index.d.ts#L58). This field is not present in the ServiceConfig type, and so we're not able to bind Bonjour to a particular adapter.
This could be fixed in one of two ways:
The text was updated successfully, but these errors were encountered: