Winhost may now be correctly reconfigured at all times that a heartbeat is not occuring.
Changed icon so it's now blue rather than pink.
Added the long-awaited logo to the host. Tidied up the layout of the form a little bit.
more xml contents tweaking. check the visual diff
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.
Put in a fix for the bit when configuration tries to happen at the same time as a heartbeat.
Uptime is now obtained on machines that have been up for 47+ days.
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.
Netbios name is now sent in the UDP packet.
Minor changes.
Now works with the new protocol (i.e. with the server providing the FQDN for use in packet attributes.)
Added the user count to the packet.
Tidied the appearance of the form.
Packet contents and configuration details are now available for viewing in a drop-down extras area of the window.
Uptime is now obtained from the CUpTime class rather than the Windows API. This should hopefully prevent the number wrapping round after 47 days.
Program now starts up minimised in the system tray. I think this is more or less the final thing now.
Added cpu percent idle and cpu time to the XML packet.
Added a check for previous instances of the application.
Added a check for Win9x machines on startup. We do not wish to monitor these types of machine as they are not servers.
Altered the code to display the icon in the taskbar.
Added uptime in seconds to the packet contents.
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.
The packet is complete for now. It sends all of the essential data, plus memory, swap and OS details.
Could not add uptime details just yet, as the required ActiveX control is not available...
Added a lot of API calls to obtain various system information. The contents of the XML packet are built using these.
Date is sent correctly formatted as seconds since 1-1-1970
Number os seconds since the epoch are now included in the packets.
The system tray icon is now removed when the form is made visible or is closed.
Program can now be minimised to the system tray ;)
Tidied up the displaying of errors on the form.
Times of next UDP packet and Heartbeat is displayed on the form.
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.
TCP and UDP intervals are now dealt with.
A label on the form now keeps onlookers up to date with what's going on.
TCPSock and UDPSock now have their own names
Fully working with all parts of the 1.1 host -> server TCP spec. UDP is working, but packet contents not defined yet.
Implemented version 1.1 of the heartbeat protocol.
Added version 1.1 of the FilterManager configuration protocol. Tested and works.
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)
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.