socket-util: error number to string for sockets.
authorGurucharan Shetty <gshetty@nicira.com>
Thu, 6 Feb 2014 03:50:10 +0000 (19:50 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 11 Feb 2014 17:55:47 +0000 (09:55 -0800)
commitb26f46a40171859b21a00563d15d9c5a81eefb84
tree84d0b5137bcedd6886aa90179410f59797980de8
parent55489d31a66b39aa7b41ed07a19f0bd7d7fbdd11
socket-util: error number to string for sockets.

For winsock2 functions, error number has to be converted to string
using FormatMessage().

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c
lib/socket-util.h
lib/util.c