Dave,

I recommend you take a look at httpinput.cpp in the freeamp code base. It does things a bit cleaner (i.e., no for loops).

I might be committing a fopa, but I'll include the file as an attachment to this message. Peek at the code in HttpInput::WorkerThread().

Marc


Attachments
2023-httpinput.cpp (376 downloads)