See Also

Udp Class  | Udp Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages PowerTCP SSL Sockets for .NET

Timeout Property

Dart.PowerTCP.SslSockets Namespace > Udp Class : Timeout Property (Udp)

Specifies the maximum number of milliseconds to wait for responses to commands or time between data buffer transfers.

[Visual Basic]
<CategoryAttribute("Socket Options")> <DescriptionAttribute("Gets and Sets the number of milli-seconds that a socket ReceiveFrom() method will block before throwing a SocketException.")> <DefaultValueAttribute()> Public Property Timeout As Integer
[C#]
[CategoryAttribute("Socket Options")] [DescriptionAttribute("Gets and Sets the number of milli-seconds that a socket ReceiveFrom() method will block before throwing a SocketException.")] [DefaultValueAttribute()] public int Timeout {get; set;}
[C++]
[CategoryAttribute("Socket Options")] [DescriptionAttribute("Gets and Sets the number of milli-seconds that a socket ReceiveFrom() method will block before throwing a SocketException.")] [DefaultValueAttribute()] public: __property int get_Timeout(); public: __property void set_Timeout(    int value );
[C++/CLI]
[CategoryAttribute("Socket Options")] [DescriptionAttribute("Gets and Sets the number of milli-seconds that a socket ReceiveFrom() method will block before throwing a SocketException.")] [DefaultValueAttribute()] public: property int Timeout {    int get();    void set (int value); }

Return Type

An integer specifying the maximum number of milliseconds to wait for responses to commands.

Remarks

After connecting to a server, this value is used to establish the period of time to wait for server responses. During data transfer operations, a SocketException will be thrown if any data buffer transfer operation does not complete within the timeout period.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Udp Class  | Udp Members


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.