We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using an MCB2300 with RTL TcpNet library. I am using 'ppp_connect()' to connect via a GPRS modem to the service provider. I have set 'GETIP' and 'GETGW' so that the IP address is assigned by the service provider of the GPRS service.
Is there anyway for me to know the IP address assigned by the ISP when PPP is successfully connected via my program. Can I access some variable to get the IP address?
I tried accessing mLocal.IPAdr but it was of no use.
Please provide some way for accessing the IP address assigned by the service provider from within the program.
Thanks and with regards, - Nagi
Thank you Franc, it worked.