posted 12 years ago
Hello All,
We have a Server and client programs which reads file from server and writes to client.
While reading the file from server if network goes down (we can try by removing network cable)
then in Windows XP machine it is throwing SocketException but in Windows Vista it is not throwing any exception.
We have observed this strange behavior in Windiows Vista.
Is there any issues with Vista OS for Sokcet programming.
Server.java - It reads the data from file which is placed server and writes to client
Client.java - It take the data correcspoding server socket and print the data on console.
Please find the attached programs.
Thanks in Advance.
------------------------------------------------------------
Server.java
-----------------------------------------------------------------------------
Client.java
---------------------------------------------------------------------------------