× 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.



Thanks for the help, think I'll call it a week now!

 |  -----Original Message-----
 |  From: Tom Daly [mailto:Tdaly@sddsystems.com]
 |  Sent: Friday, December 21, 2001 17:14
 |  To: 'rpg400-l@midrange.com'
 |  Subject: RE: socket problem
 |
 |
 |  OK the select() does have a 3 second timeout and - so far
 |  at least - returns
 |  1 which is correct as there is only one socket being
 |  serviced by this
 |  program.  I haven't seen and -1.   Debugging changes the
 |  performance profile
 |  of the job, I think I'll have to create an event log.
 |
 |  Doing a WRKJOB reveals that select() in turn calls
 |  qp0lds_select__FPiT1iP6fd_setN24P7timeval    The customer
 |  is at V4R3.
 |
 |   |  -----Original Message-----
 |   |  From: Scott Klement [mailto:klemscot@klements.com]
 |   |  Sent: Friday, December 21, 2001 16:40
 |   |  To: 'rpg400-l@midrange.com'
 |   |  Subject: RE: socket problem
 |   |
 |   |
 |   |
 |   |  I got the source (since you sent it to me directly).   The
 |   |  list (quite
 |   |  correctly) does not allow attachments.  If you want to post
 |   |  it to the
 |   |  mailing list, you need to include it in-line.
 |   |
 |   |  I suggested a number of things.  The most important thing
 |   |  is to run it
 |   |  in debug, and see exactly what it's doing when it's using
 |   |  all that CPU.
 |   |  Have you done that?
 |   |
 |   |
 |   |  On Fri, 21 Dec 2001, Tom Daly wrote:
 |   |  >
 |   |  > For some reason the attachment got stripped off.  Let's
 |   |  see if it goes this
 |   |  > time.
 |   |  >
 |   |  > Tom
 |   |  >
 |   |  > ps - I've since taken Scott's suggestion to handle the
 |   |  return code on the
 |   |  > select() - unforunately to no affect.   Still looking
 |  at it....
 |   |  >
 |   |
 |   |  _______________________________________________
 |   |  This is the RPG programming on the AS400 / iSeries
 |   |  (RPG400-L) mailing list
 |   |  To post a message email: RPG400-L@midrange.com
 |   |  To subscribe, unsubscribe, or change list options,
 |   |  visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
 |   |  or email: RPG400-L-request@midrange.com
 |   |  Before posting, please take a moment to review the archives
 |   |  at http://archive.midrange.com/rpg400-l.
 |   |
 |  _______________________________________________
 |  This is the RPG programming on the AS400 / iSeries
 |  (RPG400-L) mailing list
 |  To post a message email: RPG400-L@midrange.com
 |  To subscribe, unsubscribe, or change list options,
 |  visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
 |  or email: RPG400-L-request@midrange.com
 |  Before posting, please take a moment to review the archives
 |  at http://archive.midrange.com/rpg400-l.
 |


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.