mirror of
https://github.com/simh/simh.git
synced 2026-02-27 09:09:46 +00:00
Added an message text for additional socket error which can be expected to happen on windows
This commit is contained in:
@@ -136,6 +136,7 @@ static struct sock_errors {
|
||||
{WSAECONNREFUSED, "Connection refused"},
|
||||
{WSAEHOSTUNREACH, "No route to host"},
|
||||
{WSAEADDRINUSE, "Address already in use "},
|
||||
{WSAEACCES, "Permission denied"},
|
||||
{0, NULL}
|
||||
};
|
||||
|
||||
|
||||
@@ -66,6 +66,7 @@
|
||||
#define WSAECONNREFUSED ECONNREFUSED
|
||||
#define WSAEHOSTUNREACH EHOSTUNREACH
|
||||
#define WSAEADDRINUSE EADDRINUSE
|
||||
#define WSAEACCES EACCES
|
||||
#define INVALID_SOCKET ((SOCKET)-1)
|
||||
#define SOCKET_ERROR -1
|
||||
#include <sys/types.h> /* for fcntl, getpid */
|
||||
|
||||
Reference in New Issue
Block a user