It looks like I can adjust cgminer to fix my problem of ~10% stales. If eclipsemc is working well I can run a scan time of about 90. If I use gpumax to pass work to gpumax I need to have scan time set to 30 or less. it does give me around 8 stales in a row I would assume But I hacked it so that I wouldn't get kicked off gpumax by using eclipsemc's diff10 server prior to remembering this setting. I get 1-2 stales. Granted all the accepted are less frequent too. My average stales on that pool went from `9.8 to 9.5 now that isn't great but my overall submission rate is far lower too so the average would take a while to drop. I really didn't want to restart but it would give me numbers earlier.
For a serious question. Would compliling the API C file just require using minGW? I don't really know how to use the MinGW compiler at all so this would likely be a bad idea.
There are quite a few steps to
compiling cgminer on windows ... all documented in windows-build.txt that Sharky wrote that comes with cgminer.
So I assume I already have it compiled then. I had hoped by the API readme that I could use some sort of executable to change things. So I either setup php on a computer or my router to get that kind of privelaged access. Apparently the file is API-example.c.
Ah OK.
The api-example.c is one of 4 ways I provided with cgminer to access the API.
It has a comment at the top about how to compile it (that Xiangfu put there)
The 4 are:
1) api-example.c <- this is just a program to send commands to the cgminer API and get replies back in text/json.
2) API.java/API.class <- same as above written in Java (so you just need to have Java on the computer - no compiling needed)
3) api-example.php <- same as above again but written in PHP, so you need PHP on the computer to use it
4) miner.php <- a complete web page (that requires minor or no configuration) to display the status of 1 or more cgminers ... using a web server
Of course on linux there's also
5) Use nc/ncat/netcat to send commands to the API e.g. echo -n summary | nc 127.0.0.1 4028 ; echo
Of those, only miner.php is a complete tool for viewing the API data, while the rest can supply any API data in text dump (or JSON) format that you then need to do something with if you want it to look 'pretty'
To make it simplest for you - use API.class instead of compiling api-example.c - both do exactly the same thing and API.class just needs java installed
www.java.come.g.
java API summary
java API config 192.168.0.177
java API coin 192.168.0.217 4029