mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
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>
This commit is contained in:
@@ -86,5 +86,6 @@ uint16_t ss_get_port(const struct sockaddr_storage *);
|
||||
char *ss_format_address(const struct sockaddr_storage *,
|
||||
char *buf, size_t bufsize);
|
||||
size_t ss_length(const struct sockaddr_storage *);
|
||||
const char *sock_strerror(int error);
|
||||
|
||||
#endif /* socket-util.h */
|
||||
|
Reference in New Issue
Block a user