- Added triple axis scan command.

- Introduced simulation mode to simdriv and simcter, i.e they never fail and
  finish at once.
- Started defining MAD compatibility commands in Tcl
- Fixed a bug in FOCUS_src which caused it to leak sockets.
- Introduced setsockopt SO_REUSEADDR to all new sockets in sinqhm in order
  to loose the next sinqhm error.
This commit is contained in:
cvs
2000-12-05 09:05:03 +00:00
parent e83d3e6946
commit 876396bb7e
22 changed files with 2000 additions and 58 deletions

View File

@@ -213,6 +213,9 @@
cnct_skt = socket (AF_INET, SOCK_STREAM, 0);
if (cnct_skt == -1)
failInet_port ("\nhmRoot%d -- Cnct-Socket socket error", Port_base);
status = 1;
setsockopt(cnct_skt, SOL_SOCKET, SO_REUSEADDR, &status, sizeof(int));
lcl_sockname.sin_family = AF_INET;
lcl_sockname.sin_port = htons (Port_base);
lcl_sockname.sin_addr.s_addr = 0;