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



Will the NWS provide a web service to retrieve the current weather
conditions for your local area
In all seriousness has anyway created a web service on the 400
I am looking to publish some of our business logic as a web service for
outside consultants creating applications for us

Thank You

Mike


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
rpg400-l-request@xxxxxxxxxxxx
Sent: Thursday, March 31, 2005 1:02 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 4, Issue 386

Send RPG400-L mailing list submissions to
        rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
        rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
        rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of RPG400-L digest..."


Today's Topics:

   1. Re: sigaction api (Scott Klement)
   2. Re: sigaction api (Rich Duzenbury)
   3. Re: sigaction api (rpg400l@xxxxxxxxx)


----------------------------------------------------------------------

message: 1
date: Wed, 30 Mar 2005 16:06:13 -0600 (CST)
from: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
subject: Re: sigaction api

Hi Rich,

> To answer your question, I want to use the alarm() api in my 
> application, and indeed it does generate a signal when the alarm goes 
> off.

In response to your question, I decided to fiddle with the alarm() and
sigaction() APIs, and I've got them working.  I used this technique as
an easy way to make the connect() API time out for an article that will
be published in my newsletter tomorrow.

The source code for the article can be found at the following link, if
you want to look at it as a sample for how to use sigaction():
http://www.iseriesnetwork.com/noderesources/code/clubtechcode/ChkSvr.zip

Good luck!



------------------------------

message: 2
date: Thu, 31 Mar 2005 07:19:15 -0600
from: Rich Duzenbury <rduz-midrange@xxxxxxxxxxxxxxxxxxx>
subject: Re: sigaction api

On Wed, 2005-03-30 at 16:06 -0600, Scott Klement wrote:
> Hi Rich,
> 
> > To answer your question, I want to use the alarm() api in my 
> > application, and indeed it does generate a signal when the alarm 
> > goes off.
> 
> In response to your question, I decided to fiddle with the alarm() and
> sigaction() APIs, and I've got them working.  I used this technique as

> an easy way to make the connect() API time out for an article that 
> will be published in my newsletter tomorrow.
> 
> The source code for the article can be found at the following link, if

> you want to look at it as a sample for how to use sigaction():
> http://www.iseriesnetwork.com/noderesources/code/clubtechcode/ChkSvr.z
> ip
> 
> Good luck!
> 
Scott, you're a good man.  It's exactly the sort of thing I was wanting
to do, but hadn't gotten around to yet.

Thank you.
--
Regards,
Rich

Current Conditions in Des Moines, IA
Scattered Clouds
Temp 39.2F, Windchill 30.5F
Winds out of the North at 16mph




------------------------------

message: 3
date: Thu, 31 Mar 2005 15:43:18 +0200 (CEST)
from: rpg400l@xxxxxxxxx
subject: Re: sigaction api

hi scott,
thanks for these sources.
using alarm() seems easier than using select() for timeouts.
i tried, but didn't get into the select() stuff.
you should include this in you sockets tutorial.

greets
 martin

Am 31.03.2005 um 00:06 Uhr haben Sie geschrieben:
> Hi Rich,
> In response to your question, I decided to fiddle with the alarm() and
> sigaction() APIs, and I've got them working.  I used this technique as
an
> easy way to make the connect() API time out for an article that will
be
> published in my newsletter tomorrow.




------------------------------

--
This is the RPG programming on the AS400 / iSeries (RPG400-L) digest
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.



End of RPG400-L Digest, Vol 4, Issue 386
****************************************


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.