~~NOTOC~~ [[configuration_api]] > [[BS2_GetIPConfigViaUDPEx]] ---- ===== BS2_GetIPConfigViaUDPEx===== [+ 2.6.3] Retrieves IP configuration through UDP broadcast with host IP. \\ It is useful on systems with multiple Ethernet cards installed. ==== Declaration ==== #include "BS_API.h" int BS2_GetIPConfigViaUDPEx(void* context, uint32_t deviceId, BS2IpConfig* config, const char* hostipAddr); [[configuration api#BS2IpConfig|See BS2IpConfig Structure]] ==== Parameter ==== * [In] ''//context//'' : Context * [In] ''//deviceId//'' : Device ID * [Out] ''//config//'' : IP configuration pointer * [In] ''//hostipAddr//'' : Host IP address ==== Return Value ==== If successfully done, ''BS_SDK_SUCCESS'' will be returned. \\