|
Try inet_ntoa. It's designed to convert the 32 bit address to the dotted decimal version. Regards, Rich At 12:29 PM 4/16/01 -0700, 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 >+--- Regards, Rich +--- | 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 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.