• Subject: RE: API to retrieve TCPIP address of the client?
  • From: "Art Tostaine, Jr." <art@xxxxxxxxxxx>
  • Date: Fri, 8 Jun 2001 14:53:09 -0400
  • Importance: Normal

RVTIPC (probably got this from this list)

*************** Beginning of data ***************************************
             PGM        PARM(&DEVD &IP)
             DCL        VAR(&DEVD) TYPE(*CHAR) LEN(10)
             DCL        VAR(&IP) TYPE(*CHAR) LEN(15)
             DCL        VAR(&RECEIVER) TYPE(*CHAR) LEN(892)
             DCL        VAR(&LENGTH) TYPE(*CHAR) LEN(4)
             DCL        VAR(&ERRLENGTH) TYPE(*CHAR) LEN(4)
             RTVJOBA    JOB(&DEVD)
             CHGVAR     VAR(%BIN(&LENGTH)) VALUE(892)
             CHGVAR     VAR(%BIN(&ERRLENGTH)) VALUE(0)
             CALL       PGM(QDCRDEVD) PARM(&RECEIVER &LENGTH +
                          DEVD0600 &DEVD &ERRLENGTH)
             CHGVAR     VAR(&IP) VALUE(%SST(&RECEIVER 878 15))
             SNDPGMMSG  MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('IP for +
                          device' *BCAT &DEVD *BCAT 'is' *BCAT &IP) +
                          MSGTYPE(*COMP)
             ENDPGM

Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527

-----Original Message-----
From: owner-midrange-l@midrange.com
[mailto:owner-midrange-l@midrange.com]On Behalf Of ron hawkins
Sent: Friday, June 08, 2001 2:29 PM
To: midrange-l@midrange.com
Subject: FW: API to retrieve TCPIP address of the client?



Does anybody know how to retrieve the tcpip address of a pc attached to the
400? I need to do it programatically - that is the user selects a record
from a subfile and the program will FTP the file (represented by the record
in the subfile) down to the PC.

TIA
Ron Hawkins



+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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.