See Also

Dns Class  | Dns 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

ServerPort Property

Dart.PowerTCP.SslSockets Namespace > Dns Class : ServerPort Property (Dns)

Gets or sets the port to use for communicating with the DNS server.

[Visual Basic]
<DefaultValueAttribute()> <CategoryAttribute("Behavior")> <DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")> Public Property ServerPort As Integer
[C#]
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] [DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")] public int ServerPort {get; set;}
[C++]
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] [DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")] public: __property int get_ServerPort(); public: __property void set_ServerPort(    int value );
[C++/CLI]
[DefaultValueAttribute()] [CategoryAttribute("Behavior")] [DescriptionAttribute("Gets or Sets the DNS server port. Defaults to 53.")] public: property int ServerPort {    int get();    void set (int value); }

Return Type

An integer value representing the port of the DNS resource to use for communication. Defaults to 53.

Remarks

Used to identify the DNS resource port, which is the "well-known" port 53 by convention. The object always checks this property, so you can change it at any time and subsequent method calls will automatically communicate with the correct port.

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

Dns Class  | Dns Members


Send comments on this topic.

Documentation version 1.1.2.0.

© 2008 Dart Communications.  All rights reserved.