home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ipmon102.zip / readme.txt < prev   
Text File  |  1999-01-02  |  5KB  |  68 lines

  1. PMIPMon 1.02 for OS/2.
  2. 1st January 1999
  3.  
  4. 1)Window list display for loopback entry was wrong on TCPIP < 4.1
  5. 2)Added a menu option that allows you to turn off the updating of the window list title. This should let you use it with Object Desktop and let it fix it to a virtual desktop.
  6. 3)Fixed the float on top code so it really does something!
  7. 4)Force a window repaint after drag and drop of colour
  8. 5)Tidied source up and fixed a couple of other bugs
  9. 6)Tracked down the font bug. You could only change the font permanently to one whose name was longer than the last one!
  10.  
  11. PMIPMon 1.01 for OS/2.
  12. 30th December 1998
  13.  
  14. Fixed stacksize problem on Warp 4 which caused entire WPS to trash itself on my machine!
  15. Fixed objectid identification problem on Warp 4 - everything said "SpeechObject" instead of the true title.
  16. Fixed blank window display when run with /lan but no LAN IP connections were active.
  17.  
  18. PMIPMon 1.00 for OS/2.
  19.  
  20. PMIPMon is a small application to monitor throughput over a TCPIP connection. It displays IP address, MTU size, total bytes inbound and outbound, current bytes/sec, and maximum KB/sec for each connection. In addition you can specify a list of OS/2 objectids that should be launched when a new dialup connection is detected. 
  21.  
  22. By use of the objectid you can pass parameters to the application to be started and define the way in which it is run - launching an app by means of an objectid allows OS/2 to take notice of the "Object Open behaviour" in the settings page for an application icon for example. Using this you can decide to launch a new copy of the applciation or surface an existing running version. There is sample rexx code at the end of this readme to create a new icon and assign it an objectid.
  23.  
  24. Please be aware that you can quite easily do completely stupid things if you try to launch an objectid that you cannot identify! For example, on my system there is an objectid called <FI_JAVA_UNINSTALL> that will remove Java 1.1.6! What you choose to launch as a startup object is entirely up to you. If you want to create an icon an call FORMAT.COM from it then... well, I hope your backup tapes are fresh! The author takes no responsibility for your stupidity ;-)
  25.  
  26. PMIPMon accepts several parameters. If no parameters are specified it defaults to displaying only dialup connections. The possible parameters are:
  27.  
  28. /lan        - display any LAN IP connections as well as dialup
  29. /loopback    - display the local loopback connection if it is active (only gives stats on TCPIP 4.1 or MPTS WR086xx)
  30. /all        - both /lan and /loopback
  31. /defcolour    - reset the window to use default colours and fonts
  32.  
  33. The popup menu contains items that should be self-explanatory. The only one that may not be is "Window List" and this controls whether or not the window list contains the description of the app as "IP Monitor" or as the title of the IP interface, eg "I/Face Ethernet-Csmacd 10000000bps". Check the "Window list" option to have the title updated.
  34.  
  35. The appearance of the window can be changed by using drag and drop for fonts and for colours. To change the foreground colour, hold Ctrl while dragging a colour to the window.
  36.  
  37. This application has been tested on Warp Server Advanced SMP using TCPIP 4.1 with a LAN connection, a local loopback connection and a dialup connection. It has also been tested on TCPIP 3.5 without the dialup connection! Other versions of OS/2 and TCPIP should also work. Now tested on Warp 4 fixpack 6 plus TCPIP 4.0 and that all works too (1.01 anyway!).
  38.  
  39. The local loopback interface will only show stats if you have either or both of TCP/IP 4.1 or MPTS fixpack WR086xx or higher. Before this level of code there are no stats kept for the local loopback interface so I cannot display them.
  40.  
  41.  
  42. Trevor Hemsley
  43. Trevor-Hemsley@dial.pipex.com
  44. 23rd December 1998
  45.  
  46.  
  47.  
  48. The following Rexx code can be used as a template to create a new program reference icon on your desktop and assign this an objectid. You can then amend the icon using its settings page to do whatever you want.
  49.  
  50. ----- start of rexx code to create a new object ----
  51. /* MakeProg.CMD for making Program icons from the command line */
  52. Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  53. Call SysLoadFuncs
  54.  
  55.    Class = "WPProgram"
  56.    Loc = "<WP_DESKTOP>"
  57.    Title = "A new program"
  58.    objectname = "a_new_object"
  59.    progname = "C:\directory\program.exe"
  60.    progparam = "a parameter"
  61.  
  62.    Setupstring = "OBJECTID=<"objectname">;EXENAME="progname";PARAMETERS="progparam
  63.    rrc = SysCreateObject(Class,Title,Loc, Setupstring)
  64. ------ end of rexx sample code -------
  65.  
  66. This sample code creates a new icon on your desktop. The icon will point to a program path of "C:\directory\program.exe" and its optional parameter field will contain "a parameter". The icon title will be "A new program". You obviously need to amend the rexx code to point to the correct places before you run it!
  67.  
  68.