I'm Baaaaaack!!
I got an new one to knarl on...
over the summer, I have received an LED marquee sign to put up on the wall and have song titles and stuff displayed...
I also was running a WINDROP (this is an important issue later) locally that sat in a ustream chatroom and via using simple commands, I was able to control the LED marquee sign through a serial port.. that part, was a PIECE OF CAKE!
and although this little thingy worked, it was *NOT* able to receive SERVER updates from the streams... only local calls to the playout system that ran on the same machine locally... this presents a few problems..
1).. only updates from the playout directly can be entered and
2).. they had to be entered manually..
NOW, I want to do this automatically AND have it read from the Cast servers... and lone-behold! here we go with the sockets and http module.. it won't work in a windrop! (I assume this is because none of the globals will migrate to child procs inside other procs.. not to mention, I had other problems with modules where I had to remove all the linefeeds and replace them with "windows line returns" in order to get them to load- and I assume this is because there are no cygin support modules for http and tk modules)
that or I simply don't have the cygin versions of http (I couldn't find one anyhow)
anyways.. so I have been TRYING to pull this little stunt off.. with NO luck!
I guess what I'm saying is I need a working socket of some sort.... when in unix, theres no problem! I can even do auth sockets.. but I can't get ANY of that to work in the WINDOWS command shell (where the windrop lives) at all!! the casting system uses windows- and thats my problem there.. perhaps, a simple http-get program that DOES NOT require .NET framework would work VERY nicely.. I could not find such an animal (not for free, anyways)
so, I'm rather STUCK!
to recap, I can't get the HTTP module to work in windows because there's no cygin support modules that it requires to function... and I can't use any third-party "http get" programs because I can't find any... I can get a native socket to work- sorta, , however, the server returns "bad request" or "function not implemented" errors... (or nothing at all!)
any ideas would be greatly-appreciated!
I don't really have any code to paste or show at this time since it wouldn't make sense anyways.. but to explain, the idea was to have 2 bots- one that sits on the local box as a "relay" (and a simple greeter for a unused/old chatroom) while the main bot that sits in a datacenter a 1000 miles away, runs the show.. the "main" bot receives '!sign' commands in the current chatroom (on an entirely different network) and then relays them to the webserver in the same network.. this results as a simple webpage of XML strings that the "relay" bot can then fetch from the webserver and then, translate the strings into the commands for the marquee.. then, when using an "exec" command to pass the strings via stout, right to the control interface program for the sign... thats how it works! the problem is I can't get the relay bot to properly communicate with ANYthing, webserver or the other bot while using a native socket or the http module (the http module is riddled with errors when I try to load it in the windows envirement, yet it works FINE in FBSD... )
perhaps another method would be a BOTNET.. but that sounds messy at best! (I haven't tried a botnet yet)
anyhow that's my current "can of worms" I got open at the moment!
I hope everyones doing well- and thanks to anyone in advance for any help and/or suggestions (I CAN also offer demos of this thing.. if anyone needs to see it for the concept)
again, thanks and happy holidays!
-DjZ-

