wodSFTP API library - UseIPv6 Property
      
 

Description

Determines if IPv6 addresses are allowed.


Return type

A Long value. If successful, 0 is returned, otherwise error as specified here.


Syntax

long Sftp_GetUseIPv6(void *Sftp, int *pVal);
long Sftp_SetUseIPv6(void *Sftp, int newVal);

The UseIPv6 function syntax has these parts:

Part Description
void *Sftp Handle of the created Sftp instance.
int *pVal, newVal Integer, when set to a nonzero value forces wodSFTP to the execute function in with UseIPv6 - causing your code to wait until the function completes.

Remarks

UseIPv6 UseIPv6 determines if component will accept IPv6 addresses when trying to connect to remote server. It will accept both numeric values, such as

fe80::213:20ff:fe91:5bb5

 

but also fully qualified hostnames that resolve to such IPv6 addresses, such as

www.google.com.sixxs.org

 

When you supply Hostname, component will first try to determine if IPv4 was entered, and then if it fails IPv6.

In order to use IPv6, your version of Windows needs to support it. To install it on Windows XP, right-click on your 'network connection interface' icon, select 'Properties', and then check if

Microsoft TCP/IP version 6

 

is listed. If not, click on 'Install' button, choose 'Protocol' and then locate above from the list. If IPv6 stack is not installed on the computer, this property is ignored.

Here's screenshot of where to find it: