[Simh] How to detect telnet disconnection.

Harry Reed doon386 at cox.net
Sat Jun 20 20:48:04 EDT 2015


All,

We am currently in the process of implementing a simh based emulator for 
the Multics CPU (https://sourceforge.net/projects/dps8m/). We've got it 
set up so we can telnet into the OS using the SIMH "Telnet terminal 
multiplexer library," but are having problems when connections are lost 
not freeing up lines, etc. I need to be able to detect when a telnet 
connection is dropped, not closed normally.

Any thoughts on how to detect a dropped telnet connection?

Regards,
Harry Reed

-- 
Harry W. Reed                       | Never ascribe to malice that which can
doon386 at cox.net                     | adequately be explained by stupidity.
+--------------------+--------------------+----------------------------------+
"Of all tyrannies a tyranny sincerely  exercised for the good of its victims
  may be the most  oppressive.  It may be better to live under  robber 
barons
  than  under  omnipotent  moral busybodies,  The robber baron's 
cruelty may
  sometimes sleep,  his cupidity may at some point be satiated; but 
those who
  torment us for own good  will torment us  without end,  for they do so 
with
  the approval of their own conscience."    -   C.S. Lewis, _God in the 
Dock_
+--------------------+--------------------+----------------------------------+
"Truth often suffers more by the heat of its defenders than the arguments
of its opponents." -- Sir William Penn

"Right is right, even if everyone is against it; and wrong is wrong, even
if everyone is for it." -- Sir William Penn
+--------------------+--------------------+----------------------------------+
If the assumptions are wrong, the conclusions aren't likely to be very good.

Corollary: If men neglect to pay plumbers and philosophers neither their 
pipes
nor their theories will hold water.
+--------------------+--------------------+----------------------------------+
When people start to comment on the form of the message, it is a sign 
that they
have problems accepting the truth of the message -- ???
+--------------------+--------------------+----------------------------------+
"It is proof of a base and low mind for one to wish to think with the masses
or majority, merely because the majority is the majority. Truth does not
change because it is, or is not, believed by a majority of the people."
Giordano Bruno
+--------------------+--------------------+----------------------------------+
"The power of accurate observation is called cynicism by those
  who have not got it."  - George Bernard Shaw



More information about the Simh mailing list