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


  • Subject: Re: Problem related to Message DATAQ
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Tue, 17 Apr 2001 09:18:30 -0700
  • Organization: Pacer International

A bit more information please.

Who is going to be initiating the TCP/IP connection?  Is the AS/400 going to be
initiating the connection to another machine, or is another machine going to 
"Call"
the AS/400?  (Is the AS/400 for this program going to be the server or the 
client).

Once the connection is up, is it going to remain up?  Or if it drops is the 
AS/400 
going to try to initiate the connection again?

If there are outgoing packets (packets in the data queue to be sent to the 
TCP/IP
port) and the connection is not up, what needs to happen?  Does the AS/400 
initiate
the connection then send the packets?  Or does it wait for connection and then
transmit them?

The easiest of these scenarios is for the AS/400 to be a client, the AS/400 to 
initiate
the connection and for it to remain open.  For the AS/400 to reinitiate when it 
drops.
The reason for this is it's just a little bit easier to write a TCP/IP client 
then to
write a server (in fact, I've not seen a TCP/IP RPG Server program for the 
AS/400.).

The actual program could be a fairly small RPG program.  Take a standard 
sockets boiler
plate program, or template if you will, change it to connect to this certain 
port, and
then just route from/to data queues, not that difficult at all.

Regards,

Jim Langston

> Mahesh Pawar wrote:
> 
> Hello All,
> 
> I am receiving data messages from internet to specified port or IP address. I 
>want to received this messages on message dataQ and send a reply from dataQ to 
>port.
> Is there any command or tools are available on AS/400 which will take care of 
>this ? Or I have buy NT based software like FALCAMQ?
> 
> Regards
> Mahesh Pawar
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.