• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

SocketException is not throwing in Windows Vista while network lost.

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.




You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic