Port Property (Read/Write)

Top  Previous  Next

TCP Port of the Tn3270/Tn5250 host to connect to.

 

VB.NET Syntax

 

tnxxxx.Port [= Integer]

 

C# Syntax

 

tnxxxx.Port [= int];

 

 

Remarks

 

By default it takes the standard telnet port. You can change it if the non standard port is to be used.

Default value is 23.

 

In XmlClient and XmlVirtual components this property is ignored and it's value is 0.

 

See also Host property, Connect method and OnConnect event.