This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Software Teaming: A Mob Programming, Whole-Team Approach and have Woody Zuill and Kevin Meadows on-line!
See this thread for details.

ShaikSs Azmathulla

Greenhorn
+ Follow
since Oct 14, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ShaikSs Azmathulla

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


---------------------------------------------------------------------------------