Urgent - My webserver sends html fine but not binary!?

stevend

New member
Joined
Jul 29, 2006
Messages
2
Programming Experience
Beginner
I have a multi-threaded webserver core written in VB.NET. I have gotten it to parse headers, send HTML Documents, etc...

But whenever i send images they show as an X or corrupted...i was thinking i wasnt sending or reading in the right mode...but i read in binary to a byte array and i send as a byte array so im very confused...

You can view my current source code here:
http://prdownloads.sourceforge.net/caedo/CaedoHTTPd.rar?download

it would greatly appreciate help, so i can finish porting my webserver to .net and further advance the possibilities.

If you can help, please reply asap!
 
sorry for the post i have resolved this issue myself.

i simply had a small bg in my file sending routeine, and headers needed an extra line.
 
Back
Top