API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.
Comments
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