private IEnumerator PostScreenshot(ScreenShotAndTime passedData)
        {
            string postlocation = "http://" + posthost + ":" + postport + "/" + cameraposturi;

            var form = new WWWForm();

            form.AddField("camid", current);
            form.AddField("camtime", passedData.dataTheTime);
            form.AddBinaryData("camimage", passedData.dataScreenShotData);
            var post = new WWW(postlocation, form);

            yield return(post);

            if (!string.IsNullOrEmpty(post.error))
            {
                print("WWWFORM ERROR:" + post.error);
            }
            PendingPosts--;
        }
        private IEnumerator PostScreenshot(ScreenShotAndTime passedData)
        {
            string postlocation = "http://" + posthost + ":" + postport + "/" + cameraposturi;

            var form = new WWWForm();
            form.AddField("camid", current);
            form.AddField("camtime", passedData.dataTheTime);
            form.AddBinaryData("camimage", passedData.dataScreenShotData);
            var post = new WWW(postlocation,form);

            yield return post;
            if (!string.IsNullOrEmpty(post.error))
                print("WWWFORM ERROR:" + post.error);
            PendingPosts--;
        }