i'm thinking that i've understand TV-IP301W mjpeg format.
it's not standard because it's recognised such a "multipart/mixed",
but it's similar to "multipart/x-mixed-replace" .
but the problem is that the standard function in zoneminder can't interpret subheader of this stream.
so i'm asking to you:
in zm_remote_camera.cpp when i see "multipart/mixed" i don't go to SUBHEADER but i'm going to a new case that i'm going to make.
in this function i've to:
1- read some byte (300)
2- Look in this string and search for Content-Length: and setting the variable content_length to appropriate value.
3- Jumping (some bytes) to jpeg starting (FF D8)
4- going to "CONTENT" case.
someone can explain me how to make the first 3 points? (the 4th is simple

thank you a lot!!!
ps: i can't use regexp with this camera!