Hello.
Can you just try sending and receiving of an image as a one complete byte array? You can skip ImageIO API.
If things work okay then you can work on ImageIO API.
Syed.
Type: Posts; User: syedbhai
Hello.
Can you just try sending and receiving of an image as a one complete byte array? You can skip ImageIO API.
If things work okay then you can work on ImageIO API.
Syed.
Hello.
Can you try sending some sample string first instead of an image?
If everything works fine then the problem could be with ImageIO.
syed.
Hello.
You made a mistake.
Please remove that additional loop in the client as well.
And remove the inner while loop on the server side.
Again, don't keep any loop in the client code. ...
java_monster,
Do you know the behavior of loops? I believe yes.
Do you know the behavior of reading from sockets and reading from files? I believe no.
In your client code you are having a...