Example: TE_connect

In the following example, the TE_connect function uses communication type tn5250 to connect the terminal emulator to a server called "as400".

TE_connect("comm-type = tn5250;host-name = as400;", 60000);