This is basically a continuation of some prior topics...
Anyway, this is the deal. I am writing a bot program for battle.net and trying to get the most stability out of the program as possible.
Basically, the program uses a main reader thread, which temporarily uses a 2nd reader thread to connect to a 2nd server to get some data that needs to be passed to the first server.
here is a link to the source files, which I will leave up indefinately for those seeking answers in the future.
If the link is broken for whatever reason or another, just look at part 2.