Adjustments to ZigbeeTest and Python files to use just 1 port for shooting Zigbee...
[iot2.git] / iotjava / iotruntime / master / ZigbeeConfig.java
index 3ded618..7bf6f3e 100644 (file)
@@ -101,7 +101,8 @@ public final class ZigbeeConfig {
         *
         * @return  void
         */
-       public void closeConnection() {
+       public void closeConnection() throws IOException {
+               socket.setReuseAddress(true);
                socket.close();
        }
 }