Responce time [message #335567] |
Wed, 15 April 2009 09:03  |
Eclipse User |
|
|
|
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
rt.jar.
The problem i am facing is :
Suppose there is a device 'x' with ip address 1.2.3.4
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.
Thanks,
Ganesh
|
|
|
|
Powered by
FUDForum. Page generated in 0.02350 seconds