ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/winhost/nettest.frm
Revision 1.40
Fri Mar 28 16:30:35 2003 UTC (21 years, 8 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.39: +0 -0 lines
FILE REMOVED
Removed some un-used code from CVS. We can always resurrect this later if
someone feels they want to work on it. Gone are the old perl ihost which
isn't needed now, winhost which is broken and shows no sign of being fixed,
and DBReporter. If someone wants to revive them, I'll undelete them :-)

Revision 1.39 - (view) (annotate) - [select for diffs]
Thu Mar 22 09:27:04 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.38: +87 -38 lines
Diff to previous 1.38 , to selected 1.21
Winhost may now be correctly reconfigured at all times that a heartbeat is
not occuring.

Revision 1.38 - (view) (annotate) - [select for diffs]
Mon Mar 19 13:02:36 2001 UTC (23 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37 , to selected 1.21
Changed icon so it's now blue rather than pink.

Revision 1.37 - (view) (annotate) - [select for diffs]
Mon Mar 19 10:32:43 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.36: +26 -19 lines
Diff to previous 1.36 , to selected 1.21
Added the long-awaited logo to the host.  Tidied up the layout of the form
a little bit.

Revision 1.36 - (view) (annotate) - [select for diffs]
Mon Mar 19 10:11:15 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 , to selected 1.21
more xml contents tweaking.  check the visual diff

Revision 1.35 - (view) (annotate) - [select for diffs]
Mon Mar 19 09:35:56 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.34: +2 -3 lines
Diff to previous 1.34 , to selected 1.21
Moved <packet><os><processor>... to <packet><os><architecture>...
Also, the OS version is now sent of the form version=x.y rather than
major_version = x and minor_version = y.

Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Mar 14 11:03:45 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.33: +15 -7 lines
Diff to previous 1.33 , to selected 1.21
Put in a fix for the bit when configuration tries to happen at the same
time as a heartbeat.

Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Mar 14 10:47:26 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.32: +5 -6 lines
Diff to previous 1.32 , to selected 1.21
Uptime is now obtained on machines that have been up for 47+ days.

Revision 1.32 - (view) (annotate) - [select for diffs]
Thu Mar 1 09:30:55 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.31: +16 -2 lines
Diff to previous 1.31 , to selected 1.21
Fixed uptime > 47 problem by sending uptime as the number of seconds the
program has been running rather than milliseconds_running / 1000.  This is
not ideal, but it should be okay if the host is started automatically as
each machine starts.

Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Feb 28 12:04:17 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 , to selected 1.21
Netbios name is now sent in the UDP packet.

Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Feb 28 11:59:54 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.29: +4 -0 lines
Diff to previous 1.29 , to selected 1.21
Minor changes.

Revision 1.29 - (view) (annotate) - [select for diffs]
Wed Feb 28 10:45:37 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.28: +16 -19 lines
Diff to previous 1.28 , to selected 1.21
Now works with the new protocol (i.e. with the server providing the FQDN
for use in packet attributes.)

Revision 1.28 - (view) (annotate) - [select for diffs]
Wed Feb 28 09:24:53 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.27: +3 -0 lines
Diff to previous 1.27 , to selected 1.21
Added the user count to the packet.

Revision 1.27 - (view) (annotate) - [select for diffs]
Wed Feb 28 09:18:26 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 , to selected 1.21
Tidied the appearance of the form.

Revision 1.26 - (view) (annotate) - [select for diffs]
Wed Feb 28 09:08:08 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.25: +82 -20 lines
Diff to previous 1.25 , to selected 1.21
Packet contents and configuration details are now available for viewing in
a drop-down extras area of the window.

Revision 1.25 - (view) (annotate) - [select for diffs]
Wed Feb 28 08:19:00 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.24: +7 -2 lines
Diff to previous 1.24 , to selected 1.21
Uptime is now obtained from the CUpTime class rather than the Windows API.
This should hopefully prevent the number wrapping round after 47 days.

Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Feb 26 10:13:10 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.23: +20 -49 lines
Diff to previous 1.23 , to selected 1.21
Program now starts up minimised in the system tray.
I think this is more or less the final thing now.

Revision 1.23 - (view) (annotate) - [select for diffs]
Mon Feb 26 09:54:25 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.22: +5 -0 lines
Diff to previous 1.22 , to selected 1.21
Added cpu percent idle and cpu time to the XML packet.

Revision 1.22 - (view) (annotate) - [select for diffs]
Mon Feb 26 09:25:41 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.21: +4 -0 lines
Diff to previous 1.21
Added a check for previous instances of the application.

Revision 1.21 - (view) (annotate) - [selected]
Mon Feb 26 09:23:34 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.20: +12 -3 lines
Diff to previous 1.20
Added a check for Win9x machines on startup.  We do not wish to monitor these types of
machine as they are not servers.

Revision 1.20 - (view) (annotate) - [select for diffs]
Mon Feb 26 09:12:51 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 , to selected 1.21
Altered the code to display the icon in the taskbar.

Revision 1.19 - (view) (annotate) - [select for diffs]
Mon Feb 26 08:53:48 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.18: +3 -0 lines
Diff to previous 1.18 , to selected 1.21
Added uptime in seconds to the packet contents.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:51:07 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.17: +11 -11 lines
Diff to previous 1.17 , to selected 1.21
Configuration is now read from the INI file.
This only needs to specify the hostname and port number of the FilterManager, as the
FilterManager itself is responsible for providing the remaining configuration details.

Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:37:04 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.16: +21 -3 lines
Diff to previous 1.16 , to selected 1.21
The packet is complete for now.  It sends all of the essential data, plus memory, swap
and OS details.

Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:31:44 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.15: +5 -2 lines
Diff to previous 1.15 , to selected 1.21
Could not add uptime details just yet, as the required ActiveX control is not
available...

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Feb 23 17:08:37 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.14: +67 -21 lines
Diff to previous 1.14 , to selected 1.21
Added a lot of API calls to obtain various system information.
The contents of the XML packet are built using these.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Feb 23 13:27:09 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 , to selected 1.21
Date is sent correctly formatted as seconds since 1-1-1970

Revision 1.13 - (view) (annotate) - [select for diffs]
Fri Feb 23 13:23:53 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.12: +36 -27 lines
Diff to previous 1.12 , to selected 1.21
Number os seconds since the epoch are now included in the packets.

Revision 1.12 - (view) (annotate) - [select for diffs]
Fri Feb 23 12:01:14 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.11: +28 -24 lines
Diff to previous 1.11 , to selected 1.21
The system tray icon is now removed when the form is made visible or is
closed.

Revision 1.11 - (view) (annotate) - [select for diffs]
Fri Feb 23 11:56:43 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.10: +33 -2 lines
Diff to previous 1.10 , to selected 1.21
Program can now be minimised to the system tray ;)

Revision 1.10 - (view) (annotate) - [select for diffs]
Fri Feb 23 11:42:06 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.9: +55 -80 lines
Diff to previous 1.9 , to selected 1.21
Tidied up the displaying of errors on the form.

Revision 1.9 - (view) (annotate) - [select for diffs]
Fri Feb 23 11:30:25 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.8: +22 -22 lines
Diff to previous 1.8 , to selected 1.21
Times of next UDP packet and Heartbeat is displayed on the form.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Feb 23 11:25:35 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.7: +72 -7 lines
Diff to previous 1.7 , to selected 1.21
VB Timer limit was ~65000 milliseconds.
The two timers have been removed and replaced with a single timer to allow
TCP/UDP intervals greater than 65 seconds.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Feb 23 10:58:00 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.6: +31 -4 lines
Diff to previous 1.6 , to selected 1.21
TCP and UDP intervals are now dealt with.

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Feb 23 10:53:30 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.5: +26 -25 lines
Diff to previous 1.5 , to selected 1.21
A label on the form now keeps onlookers up to date with what's going on.

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Feb 23 10:34:47 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.4: +29 -31 lines
Diff to previous 1.4 , to selected 1.21
TCPSock and UDPSock now have their own names

Revision 1.4 - (view) (annotate) - [select for diffs]
Fri Feb 23 10:29:16 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.3: +41 -42 lines
Diff to previous 1.3 , to selected 1.21
Fully working with all parts of the 1.1 host -> server TCP spec.
UDP is working, but packet contents not defined yet.

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Feb 23 10:07:55 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.2: +29 -17 lines
Diff to previous 1.2 , to selected 1.21
Implemented version 1.1 of the heartbeat protocol.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Feb 23 09:42:36 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.1: +85 -22 lines
Diff to previous 1.1 , to selected 1.21
Added version 1.1 of the FilterManager configuration protocol.
Tested and works.

Revision 1.1 - (view) (annotate) - [select for diffs]
Thu Feb 22 17:04:22 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Diff to selected 1.21
A basic test of some network functions in Visual Basic for Windows.
These use the mswinsck.ocx ActiveX component.
These should be runnable on most Win32 platforms with the Visual Basic 6
runtime installed (available from the microsoft website)

Convenience Links

Links to HEAD: (view) (annotate) Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a