+# see https://github.com/nmap/nmap/issues/193
+if test $(uname -s) = Darwin; then
+ echo $(($(cksum <<<"$BTR_BUILD" | cut -d" " -f 1) % 64511 + 1024)) > "$BTR_COMFILE"
+ ncat -nlkc btrd_status 127.0.0.1 $(cat "$BTR_COMFILE") &
+else
+ ncat -nlkc btrd_status -U "$BTR_COMFILE" &
+fi