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