Nmap Development mailing list archives
Closing socket when input file ends?
From: Britton Kerin <britton.kerin () gmail com>
Date: Tue, 1 May 2012 11:12:11 -0800
Hi guys, First: loving nmap/ncat a lot. Thanks all. I'm using ncat with an embedded device like so: nmap 192.168.1.42 50000 <query.bin >response.bin The thing is it never seems to close the connection. I can use --idle-timeout to kill it but I sort of wonder why it doesn't automatically close the socket when input EOF stdin like cat does? Also, when typing in put manually I would expect CNTRL-D to send EOF, but I'm not sure if it does or not, or does but it doesn't close connection, or what. Anyway, just kind of weird. Britton _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Closing socket when input file ends? Britton Kerin (May 01)
- Re: Closing socket when input file ends? David Fifield (May 01)