Share this page

# ms_dns_nextresult

Example: ms_dns_nextresult | DNS Functions (MS_DNS)

Advances to the next IP address in the list returned by ms_dns_query.

    char* ms_dns_nextresult( char *ipaddresslist );

ipaddresslist | A list of NULL terminated IP addresses, as returned from ms_dns_query or ms_dns_nextresult

The ms_dns_nextresult function looks up the next IP address in the list of IP addresses, that were returned by ms_dns_query.

A script that calls ms_dns_nextresultmust have an `#include "mic_socket.h"` statement.

## Return Values

Returns the next IP address in the list supplied by ms_dns_query

## Parameterization

Standard parameterization is not available for this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: