Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Responce time
Responce time [message #335567] Wed, 15 April 2009 13:03 Go to next message
ganesh is currently offline ganeshFriend
Messages: 2
Registered: July 2009
Junior Member
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
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.

Re: Responce time [message #335571 is a reply to message #335567] Wed, 15 April 2009 13:20 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Probably a java question, but most of the socket classes can specify a
timeout when connecting, no? like, int)


Paul Webster e.platform.doc.isv/guide/workbench.htm

Previous Topic:Problems with problem markers decoration in the Project Explorer
Next Topic:Files copied from src to bin on compile - config?
Goto Forum:

Current Time: Sun Jun 24 09:38:03 GMT 2018

Powered by FUDForum. Page generated in 0.01795 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top