Protocol Property

Returns or sets the protocol family of the file transfer object. The default value is 0 (zero).

Syntax

NSFile.Protocol

Remarks

This property is always available.

Since Microsoft® Windows® Sockets currently defines the protocol family to be the same as the address family, the default value of this property is 0 (zero). If your protocol family does not match the address family, you must set the protocol family as defined in the Winsock2.h header file provided in the Win32 SDK.

© 1996-1998 Microsoft Corporation. All rights reserved.