Re: nc(1): Report incoming connections on nc -v -l

2012-06-24 Thread Ricky Zhou
On 2012-06-16 02:37:27 PM, Christiano F. Haesbaert wrote: > I guess so, I don't use nc too often but it sounds reasonable to me, > your code has a few notes though, please check inline. (Sorry for the slow response, was travelling last week) Thanks for looking at the patch - here's a new one with

nc(1): Report incoming connections on nc -v -l

2012-06-15 Thread Ricky Zhou
This patch adds a message on incoming connections when netcat is run with -l and -v. Does this look like a reasonable addition? One thought is that report_connect might not need to err() when getnameinfo fails thoughts? Thanks, Ricky Index: netcat.c =