Mr.M 58 Future Programmers

Hi,

I'm conducting a research in web hosting and I've just found a sample online which is a simple web server, its works fine but the only problem is that the browser only display texts and the images are not loaded I don't know what could be the problem, I even increased the Bytes where is says

 Dim recvBytes(1024) As Byte

To

 Dim recvBytes(10240) As Byte

I multiplied the 1024 by 10 which gave me 10240 but still its slow and still doesn't load image it keep saying (15) Items remaining - loading image and it never does load image not even one.

Here is the like where I got this code from.

 www.java2s.com/Tutorial/VB/0400__Socket-Network/TcpListenerbasedWebserver.htm
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.