1
0
mirror of https://github.com/simh/simh.git synced 2026-02-17 21:18:27 +00:00

Added option to create listen sockets with SO_REUSEADDR if attach is done with -U switch set. Requested by Michael Mondy

This commit is contained in:
Mark Pizzolato
2013-04-12 12:40:56 -07:00
parent 5bba4daca4
commit 6f44a394e6
2 changed files with 42 additions and 1 deletions

View File

@@ -61,8 +61,11 @@
#define WSAENAMETOOLONG ENAMETOOLONG
#define WSAEINPROGRESS EINPROGRESS
#define WSAETIMEDOUT ETIMEDOUT
#define WSAEISCONN EISCONN
#define WSAECONNRESET ECONNRESET
#define WSAECONNREFUSED ECONNREFUSED
#define WSAEHOSTUNREACH EHOSTUNREACH
#define WSAEADDRINUSE EADDRINUSE
#define INVALID_SOCKET ((SOCKET)-1)
#define SOCKET_ERROR -1
#include <sys/types.h> /* for fcntl, getpid */