#!/bin/sh
# Pt-web/src/app-root/scripts/DASAutoCal/getEquip.sh
# 
#  Copyright: ©2015, Güralp Systems Ltd.
#  Author: Laurence Withers <lwithers@guralp.com>
#  License: GPLv3
#

HOST="$1"
PORT="$2"
OUT_FNAME="$3"

nc -w 5 "${HOST}" "${PORT}" > "${OUT_FNAME}"
