• Post Reply Bookmark Topic Watch Topic
  • New Topic

SocketException is not throwing in Windows Vista while network lost.  RSS feed

ShaikSs Azmathulla
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.




It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!