AddressFamily Property

Returns or sets the address family of the File Transfer object.

Syntax

NSFile.AddressFamily

Remarks

The address family helps define the network protocol that is used. Address families are defined in the Microsoft® Windows® Sockets documentation. The default value of this property is 2, which corresponds to the standard Internet address family (AF_INET). For example, 6 would correspond to the IPX address family, 11 would correspond to the SNA address family, and 23 would correspond to the proposed Internet version 6 address family. The typical value will be 2, the standard Internet address family. The values of this property are defined in the Winsock2.h header file, which is provided in the Microsoft Win32® SDK.

This property is always available.

© 1996-1998 Microsoft Corporation. All rights reserved.