Concurrent Photo Server and a Client for JPG in C++