PowerTCP Emulation for .NET CF
ServerPort Property
See Also  Send comments on this topic.
Dart.Emulation Namespace > Telnet Class : ServerPort Property




Gets or sets the remote Telnet port to connect to.

Syntax

Visual Basic (Declaration) 
Public Property ServerPort As Integer
Visual Basic (Usage)Copy Code
Dim instance As Telnet
Dim value As Integer
 
instance.ServerPort = value
 
value = instance.ServerPort
C# 
public int ServerPort {get; set;}
Managed Extensions for C++ 
public: __property int get_ServerPort();
public: __property void set_ServerPort( 
   int value
);
C++/CLI 
public:
property int ServerPort {
   int get();
   void set (    int value);
}

Property Value

An integer. Defaults to the well-known port 23.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.