Developer

API Reference

INETMGR_GetMyIPAddr()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function returns the IP address of the local host or device,
in NETWORK byte order.
Parameters
  • pINetMgr
    []:
    Pointer to the INetMgr Interface object to be used to retrieve the IP address.
Interface
INETMGR
Prototype
        INAddr INETMGR_GetMyIPAddr(INetMgr * pINetMgr)
Return
IP address of the device in NETWORK byte order
Side Effect
None.
Comment
In the BREW Simulator, this function returns the result of GetHostByName(GetHostName()) unless the key "IPAddress" is set in the [Settings] section of BREW_Emu.dat
  • Follow