_____________________________________________________________________________

                             S o c k e t M g r 

                           Internet Socket Remover

                          by David Thomas,  1996-7
                         version 1.05 (03 Mar 1998)
_____________________________________________________________________________


 Purpose ___________________________________________________________________

  SocketMgr is a utility for removing Internet Sockets which are left
unremoved when an application crashes.  If you are running a server program
and it terminates without first closing its listening socket then the socket
remains in use indefinitely.  This is annoying with servers that are expected
to run on a specific port (e.g. an FTP server).  SocketMgr allows you to
safely close the socket so that the server program may be used again without
needing to resort to a complete reset.

  This potentially a very dangerous program - it can crash the whole system
with a single click.  Use it with care and don't let it get into the wrong
hands.


 Usage _____________________________________________________________________

  To load SocketMgr double-click on its icon in the filer window where it
resides.  When it loads it will not show itself on the desktop, instead it
will sit in the background waiting for you to press Ctrl-S, upon which it
will open its main window (in most cases, it will only open when no other
window or icon has the input focus).  This window will list all of the
sockets that SocketMgr can find out about, typically those only marked as
being 'active' (inactive sockets, such as those pending removal, will not be
listed).  For example, say the main window shows the following sockets:

             0 - TCP - Listening on port 80
             1 - TCP - Listening on port 6667
             2 - TCP - Listening on port 21
             3 - TCP - localhost.1029 to zinc.netplex.net.www
             6 - TCP - localhost.1035 to magnesium.netplex.net.www

and say that the WWW server has just crashed and left socket 0 blindly
listening on port 80.  By clicking on the Remove button next to it, it will
be removed and you will be free to restart the server.

  Although you can remove sockets which belong to running applications,
*don't*, youll only crash the application it belongs to or even the whole
system.

  The list *will not* be automatically updated when sockets are created or
removed by an application; to update the list press Ctrl-S again.  It will
always be updated when you use the Remove button to remove a socket though.


 Versions __________________________________________________________________

1.05 (03 Mar 1998)
     - Revised socket information routine.
     - The pre-built menu is no longer used.

1.01 (10 Feb 1997)
     - Shared OpenFiles/RemoveDA/SocketMgr updates (routine tweaking and
       unneccessary routines removed).
     - Fixed the bad file descriptor problem: string terminators were being
       overwritten.
     - Won't now crash if there are too many open sockets to list.
     - Squidgings.

1.00 (22 Oct 1996)
     - First release.


 Copyright & Contact Addresses _____________________________________________

  This software is copyrighted work of David Thomas, it is supplied as is;
using it is entirely at your own risk.  I make no warranty as to the fitness
of this software for any purpose.  You are free to distribute this program
toanyone you please, as long as you are not supplying it for personal or
commercial gain and it is delivered with all of the supplied files unaltered.

  If you have any comments, bug reports, suggestions for future versions or
anything else dont hesitate to contact me at -

  Mail:  Mr D.P. Thomas
         20 Rosebery Avenue
         Waterloo
         Liverpool
         L22 2BH

  Email: dpt@tristone.co.uk

  WWW:   http://www.tristone.co.uk/davespace/
_____________________________________________________________________________

