Ah yes that would work cept the connection to the server does not close. In fact it needs to stay open! So that I can receive more commands...

I plan on trying one other thing...to see if I get 2 sockreads still. Then I plan on adding some code that will append the extra data to the binvar if a varible is set and if it fails error checking. Because all of the data could fit in one sockread sometimes...and sometimes not. If it fits into one sockread that var will be set but the error checking should not fail so it will not append it. At least this is the only known spot that this could happen at. The rest of the time everything works as planned. Most of the commands don't take up more than one sockread.

Thanks for the support though!

Last edited by kovert; 15/06/03 01:37 AM.