3
votes
1answer
631 views

Writing to an HttpURLConnection in a loop

I have this method which sends binary data to server. The code works fine, but still, it's structure is kinda stupid: output and input connections are opened like thousands times (depends on data ...