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



I think you can use this API:

inet_ntoa()-Translate IP Address to Dotted Decimal Format

you can find more information at page 2483 in System Api Reference
SC41-5801-03.

Hope it helps
Marco
----- Original Message -----
From: Jim Langston <jimlangston@conexfreight.com>
To: <RPG400-L@midrange.com>
Sent: Monday, April 16, 2001 9:52 PM
Subject: Re:


> Just FYI, no solution
>
> 3504248331 is the value of the IP address in decimal.  An IP address is
> actually just 4 bytes.  Your xxx.xxx.xxx.xxx value is just a way of
> representing those bytes that we can understand.  Each byte separately
> is converted to decimal.  I know in C++ there are subroutines to
> convert to/from the byte value to the IP value we are familiar with.
> Not sure what the API or C call is on the AS/400.
>
> Regards,
>
> Jim Langston
>
> ram babu wrote:
> >
> > Hi Klement,
> >
> > Thanks for your valuable information.I tried with the
> > code.I'm one step forward i.e. i'm getting IPAddr
> > values as follows.Suppose when i pass string
> > like(www.ibm.COM) IPAddr value is 3504248331.I have no
> > idea why is was like that.It should be like
> > xxx.xxx.xxx.xxx format.How do i convert IPAddr value
> > into XXX.XXX.XXX.XXX format.Please advise me.
> > Thanks in advance.
> >
> > Regards,
> > Rambabu Kalidindi.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
> > +---
> > | 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
> > +---
> +---
> | 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
> +---


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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