The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DataBase Online Or Not molanfx UNIX and Linux Applications 4 2 Weeks Ago 04:19 PM
Programming Sockets to Reconnect raistie High Level Programming 2 12-08-2007 10:10 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-27-2007
Registered User
 

Join Date: Sep 2007
Posts: 27
Stumble this Post!
How to reconnect to online database?

HI,

I am using perl LWP for connecting to online databases.

some times i will get connection fail.

I want to keep track of that error and again i want to connect.

i.e when i get connection fail the program should not stop it should

try to connect.

I can check connection fail has occured or not.But how to reconnect?

and retrieve the information?

can we use eval block to check for an error ?

How to proceed?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2007
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,432
Stumble this Post!
Can you post some sample code of what you tried?
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0