Who is seeking...

Here is reply to my own question:

Actual IP can be obtained by calling method NetLibIFSettingGet with setting equals to netIFSettingActualIPAddr, see NetMgr.h as declaration of NetLibIFSettingGet is descriptive enough.

---
Err NetLibIFSettingGet(UInt16 libRefNum, UInt32 ifCreator, UInt16 ifInstance, UInt16 /*NetIFSettingEnum*/ setting, void *valueP, UInt16 *valueLenP);


netIFSettingActualIPAddr - UInt32, (Read-Only) the actual IP address that the interface ends up using. The login script executor stores the result of the "g" script command here as does the PPP negotiations.
---


Another interesting setting related to PPP is netIFSettingServerIPAddr
- UInt32, (Read-Only) the IP address of the PPP server we're connected to

--
Petr

Petr Stetina wrote:

Hi,
how to programmatically determine IP address assigned by PPP server?

Thanks in advance.

Petr




--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to