Uses for BlitzMax

BlitzMax Forums/BlitzMax Programming/Uses for BlitzMax

I am writting a peer to peer network in blitzmax. It is for my job. We need a solution that can be running in a network structure like so.

[admin control panel] --> [master server] --> [client server] --> [client workstation] --> [client server] --> [php server]

Basically a "bot net". Network of remotely accessible computers. The network facilitates things like remote command prompt, file upload, scheduled updates, etc

The client workstation will report scheduled updates to teh client server. In turn the client server will then save those updates to a php based server and email the client the status of the update. The idea being that all computer healthchecks will automatically run and warn us/the client if there are problems that need fixing.

Its all very complicated, probably about 100 different source files so far and nearing 10,000 lines of code. (not really that much considering).

I have been boiling down my code alot and nearly everything is reusable. A fully working peer-to-peer tcp module that can be reused with simple event based programming. Wham-bam-thank-you-mam!

Function Event_NewRoutedCommand:Int(nroutemap:Int[],ncommand:Int,npacket:tpacket,nfromip:Int,nfromport:Int,nextra:Object)
	'a new command was recieved from the server
	Select ncommand
	End Select
End Function

... event called when a packet needs routing through a client/server...

What Im working on today (and taking a little brain rest by posting here) is a process based plugin system. Basically it will call a list of executables and monitor the output via std in/out. Spit the contents into an update zip file and wham it off somewhere on the network.

So thats what I have been doing.

Blitzmax is great for doing this. I have noticed however that bug testing in blitzmax can sometimes be a nightmare!!!