netstatus_interface_get_ip_address()

Get the IP address at the specified index from a network interface details structure.

Synopsis:

#include <bps/netstatus.h>
 
BPS_API const char* netstatus_interface_get_ip_address(netstatus_interface_details_t *details,
                                                       int index)

Since:

BlackBerry 10.0.0

Arguments:

details

The netstatus_interface_details_t structure to get the IP address from.

index

The index of the IP address to get. Must be in the range 0 to netstatus_interface_get_num_ip_addresses() - 1.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The netstatus_interface_get_ip_address() function gets the IP address at the specified index from the specified netstatus_interface_details_t structure.

Returns:

The IP address at the specified index, or NULL if the index is invalid.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus