PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: CT-lib Error halts script
Date: Mar 18 1999 3:04PM

Michael Ellery writes:
 > Folks-
 > 
 > I periodically get the following error from CT-lib when I try to
 > establish a connection:
 > 
 > ------------------------------------------
 > CT-lib error: Msg->ct_connect(): network packet layer: internal net
 > library error: Attempt to use invalid address handle Layer->5
 > Origin->3 Severity->4
 > ------------------------------------------
 > 
 > (as you can see, I have a callback handler to grab these messages.)
 > 
 > The message itself isn't such a problem but be script basically stops
 > dead whenever I get such a message.  It doesn't die and it doesn't
 > proceed--it just stops.  

What does your client callback return?

The callbacks MUST return CS_SUCCEED. Other values will most probably
cause the script to exit.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@peppler.org    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com