how to get a udp response with netcat

Posted by dihlofos on Server Fault See other posts from Server Fault or by dihlofos
Published on 2010-04-03T00:36:33Z Indexed on 2010/04/03 0:43 UTC
Read the original article Hit count: 428

Filed under:

Hi, everyone

I'm trying to do something like:

echo "request" | nc -u 1.1.1.1 9999 > response.txt

I can see that response is comming from server (with tcpdump) after executing this line. However, my response.txt stays empty. Is there a way to get it?

Thanks in advance

© Server Fault or respective owner

Related posts about netcat