Nmap Development mailing list archives

Re: can not compile recent svn nmap on windows vc 2010


From: Henri Doreau <henri.doreau () gmail com>
Date: Thu, 16 May 2013 22:16:02 +0200

2013/5/13 Gisle Vanem <gvanem () broadpark no>:
"jaebum shin" <kuh3h3 () gmail com> wrote:

NSOCK ERROR [39.4070s] nsock_make_socket(): Setting of SO_BROADCAST
failed (IOD #1): 지원되지 않거나 잘못된 옵션이나 레벨이 getsoc
kopt()이나 setsockopt()에서 지정되었습니다.


With Henri's latest changes, I also get similar results. But in
Norwegian! I think it would be nicer if socket_strerror() could
also include the WSA-errror number (as listed in <winsock2.h>)
in the output. Thus it would be easier to understand what the
error is when some Windows-user from China reports things
like this another time.

Or (like some programs do), make socket_strerror() for Winsock
errors only return English strings. There aren't that many of them.

--gv
In this case google proved convenient to understand the korean error
message, but I still don't know for sure how to properly get rid of
it.

Can you try the patch attached? It cleans nsock_connect.c a bit and
includes the error codes at the end of the error messages.

Regards

--
Henri

Attachment: nsock_connect.patch
Description:

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: