Adjustments to ZigbeeTest and Python files to use just 1 port for shooting Zigbee...
[iot2.git] / iotjava / iotruntime / master / ZigbeeConfig.java
index 3ded6188c11d53cb7adf2245dedb63c28b09da25..7bf6f3eaec5c4310876a0f4406c2111e36fc4552 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();
        }
 }