× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The only exception event that I'm aware of is out-of-band data arriving on a TCP socket.

Are you using out-of-band data in your applications?


On 3/31/2010 3:17 PM, mgarton@xxxxxxxxxxxxxxx wrote:
I have a socket application built off Scott Klement's socket examples. A
listener job that spawns a job to do the work. In the spawned job it does
the following:

C callp init_signals()
C Callp FD_Zero(read_set)
C Callp FD_Set(session : read_set)
C eval excp_set = read_set

C If Select(session+1: %addr(read_set): *Null:
C %addr(excp_set): %addr(SocWaitTime))< 0
C Eval wLogMsg = 'Error on select!'
C CallP WriteLog('E': 'Select' : wLogMsg)
C EndIf

C If FD_ISSET(session : excp_set)
C** ERROR Code
C EndIf
C If FD_ISSET(session : read_set)
C eval ReturnCode = trecvline(session:
C msg :
C %size(msg) :
C 15)
C If ReturnCode<= 0
C* Error code
C Else
C *** Process
C EndIf
C Endif


I am seeing exceptions events on the exception set. What causes this?
Right now the program just logs the exception. How do I get additional
error data to find out what i causing this? This application has been
running for awhile, but only recently have I been seeing exceptions being
logged and it seems to be getting worse.

Thanks.

Mark



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.