I try make connection using natcat on my server. but server need ack in every 180 to make connection alive. i try to make connection using following command.
cat sample.xml | nc -q -1 192.168.1.1 4747>value.xml
sample.xml file contain ack which I need to send every 180sec to make connection alive. without ack connection close after 180 sec.
i want a connection which linstion continuously and send sample.xml file every 180 sec. if i try (-q -1) to make connection alive. client close the connection after 180 sec. if ack not send. so how i send ack on every 180th sec to listien continouesly without and distrubance