|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
exceptions is taking too long to appear ont he screen
hello,o
i am throwin an UnknownHostException and its takign too liong to appear on the screen..any thought??? Code:
private void connect() {
try {
connected = false;
in = InetAddress.getByName(requestedSmtpServer);
} catch (UnknownHostException e) {
System.out.println("COULD NOT FIND HOST... ");
System.exit(1);
..
..
..
__________________
Web Development Studio | XML/ XSL/ PHP/ Flash/ Mysql | Digital Metamorphoses | http://www.dimensionstudio.biz |
|
#2
|
|||
|
|||
|
You're trying to do a reverse dns lookup, and those always take a (relatively) long time. Try pinging the server you're looking for and seeing how long it takes to come back with an ip address.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > exceptions is taking too long to appear ont he screen |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|