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

Developer

API Reference

IDNSCONFIG2_SETSERVERS()

Brew Release
Brew MP 1.0.2
See Also
None.
Description
This function is used to specify DNS server(s) to query.
Params
me
[]:
the interface pointer
pServers
[]:
pointer to an array of wCount server addresses
wCount
[]:
the number of servers in pServers
Interface
Prototype
  •    int IDNSConfig2_SetServers
       (
          IDNSConfig2* me,
          const union AEESockAddrStorage* pServers,
          uint16 wCount
       );
    
Return
  • AEE_SUCCESS: if the servers were set AEE_EMEMPTR: if pServers is not a valid pointer
Side Effect
  • None.
Comments
None.