Type Property

Description

Returns or sets the socket type of the file transfer object.

Syntax
object.Type

Return Value

Value Description (HRESULT)
1 Corresponds to SOCK_STREAM as defined in the Winsock2.h header file provided by the Win32 SDK.
2 Corresponds to SOCK_DGRAM as defined in the WINSOCK.H header file provided by the Win32 SDK.

Remarks

This property is always available.

See Also

Return to File Transfer Reference.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.