I have developed SWT application for windows OS(developed on XP) using
eclise3.0 and swt 3.0 .And my application looks like Eclipse IDE in UI.
By using my application i will get connected with the devices(hardware) in
my lab by using their IP address.For this i am using Socket class of
The problem i am facing is :
Suppose there is a device 'x' with ip address 18.104.22.168
Now if i use the same ip address to connect with device it is giving
immediate responce.But if i type some wrong ip address it is taking 30
secs to give me responce to say it is not a valid ip for the device.
Can any one suggest how decrease this time of responce.Any alternative for
Socket class in rt.jar.
Any solution that will give me responce within 10 secs to say that it is
not a valid ip address.