SetHostPort

Allows the setting of the host TCP port.  You must also set the BlueZone Session Type and Session ID as well.

Parameters:

SessionType  -  0 - Mainframe; 1 - iSeries; 2 - VT

SessionId  -  1 for S1, 2 for S2, 3 for S3, etc.

TCPPort  -  TCP Port Number

Returns:

0 for success; or a non-zero error code.  See Error Codes for a complete listing of error code descriptions.

Remarks:

None

Example:

Set Host = CreateObject( "BZWhll.WhllObj" )

 

Host.SetHostPort 0, 1, 2099