knxultimate
Advanced tools
Comparing version 4.0.0-beta.4 to 4.0.0-beta.5
@@ -185,3 +185,2 @@ "use strict"; | ||
this._clientSocket.bind({ | ||
port: this._peerPort, | ||
address: this._options.localIPAddress, | ||
@@ -191,3 +190,3 @@ }, () => { | ||
; | ||
this._clientSocket.setTTL(250); | ||
this._clientSocket.setTTL(10); | ||
if (this._options.localSocketAddress === undefined) { | ||
@@ -222,3 +221,3 @@ this._options.localSocketAddress = this._clientSocket.address().address; | ||
; | ||
this._clientSocket.setMulticastTTL(250); | ||
this._clientSocket.setMulticastTTL(10); | ||
this._clientSocket.setMulticastInterface(this._options.localIPAddress); | ||
@@ -225,0 +224,0 @@ } |
# [4.0.0-beta.5](https://github.com/Supergiovane/KNXUltimate/compare/v4.0.0-beta.4...v4.0.0-beta.5) (2024-11-17) | ||
# [4.0.0-beta.4](https://github.com/Supergiovane/KNXUltimate/compare/v4.0.0-beta.3...v4.0.0-beta.4) (2024-11-15) | ||
@@ -4,0 +6,0 @@ |
{ | ||
"name": "knxultimate", | ||
"description": "KNX IP protocol implementation for Node. This is the ENGINE of Node-Red KNX-Ultimate node.", | ||
"version": "4.0.0-beta.4", | ||
"version": "4.0.0-beta.5", | ||
"main": "./build/index.js", | ||
@@ -6,0 +6,0 @@ "engines": { |
@@ -316,8 +316,8 @@ import dgram, { RemoteInfo, Socket as UDPSocket } from 'dgram' | ||
{ | ||
port: this._peerPort, | ||
address: this._options.localIPAddress, | ||
// port: this._peerPort, // Local port shall be assigned by the socket. | ||
address: this._options.localIPAddress, // Force UDP to be heard trough this interface | ||
}, | ||
() => { | ||
try { | ||
;(this._clientSocket as UDPSocket).setTTL(250) | ||
;(this._clientSocket as UDPSocket).setTTL(10) | ||
if (this._options.localSocketAddress === undefined) { | ||
@@ -369,3 +369,3 @@ this._options.localSocketAddress = ( | ||
try { | ||
;(this._clientSocket as UDPSocket).setMulticastTTL(250) | ||
;(this._clientSocket as UDPSocket).setMulticastTTL(10) | ||
;(this._clientSocket as UDPSocket).setMulticastInterface( | ||
@@ -372,0 +372,0 @@ this._options.localIPAddress, |
Sorry, the diff of this file is not supported yet
1860208
730
36764
2
4