SetHostPort
Allows the setting of the host TCP port. You must also set the BlueZone session type and session ID.
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. Refer to
Error codes
for a complete listing of error code descriptions.
Example
Set Host = CreateObject( "BZWhll.WhllObj" )
Host.SetHostPort 0, 1, 2099
Related Links
BlueZone Object methods (Parent Topic)