ICE

TCP/IP Products => TCP-PRO => Topic started by: bottomfeeder on October 19, 2007, 09:58:36 am

Title: C# API Example
Post by: bottomfeeder on October 19, 2007, 09:58:36 am
Does anyone have a C# example using ICE TCP Pro API to create a terminal session?  I am having trouble setting the terminal type among other things when establishing a session from C#.  I am currently using version 5.1.1.19.  I found a post that indicates the terminal type should be set before invoking connect, but that causes an exception.
Title: Re: C# API Example
Post by: Bob on October 19, 2007, 01:45:25 pm
I don't have c# info however there are two ways to go at this:

1) Change the terminal type in the profile before connecting. See:
http://yabb.jriver.com/ice/index.php/topic,42.msg1873.html#msg1873
Follow the thread from that message on down. You may want to check out the stuff above that message too for other info.

2) Alllow the connect with the default terminal type and run a script (in the .profile perhaps) on the server to send the escape sequences to change the terminal type and override the terminal type on the server that's set during connection.