Returns or sets the protocol, either TCP or UDP, used by the Winsock control.
Syntax
object.Protocol [=protocol]
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Settings
The settings for protocol are:
Constant | Value | Description |
sckTCPProtocol | 0 | Default. TCP protocol. |
sckUDPProtocol | 1 | UDP protocol. |
Return Value
Void
Remarks
The control must be closed (using the Close method) before this property can be reset.