It would help prevent it throwing > EAFNOSUPPORT, Address family not supported by protocol (from https://github.com/homebridge/verified/issues/505) See https://github.com/lstrojny/homebridge-ble-thermobeacon/pull/22/files as an example of how to solve this.