Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostConnection Class > Properties

sessionPort Property (integer)

Scroll Prev Top Next More

 

The session port.

 

HostConnection.sessionPort

 

Arguments

 

HostConnection

 Required. HostConnection object.

 

Remarks

 

READWRITE.

 

Default is 23.

 

The following example illustrates session connection options being set and the connection method being executed:

 

 HostConnection oConn = new HostConnection();

 oConn.sessionHost = "127.0.0.1";

 oConn.sessionPort = 23;

 oConn.sessionOptions = "ConnectTestRow:23;ConnectTestColumn:2;ConnectTestText:ENTER;";

 oConn.sessionType = "TN3270";

 oConn.connect("standard");

 

Requirements

 

Inventu Viewer+

 

See Also

 

Connect | sessionHost | sessionOptions | sessionType

 

Applies To: HostConnection object

 


© 2022 Inventu Corporation