ICE

Please login or register.

Login with username, password and session length
Advanced search  

News:

ICETCP.PRO and ICETCP.PLUS are compatible with Windows 11!

Author Topic: C# API Example  (Read 1445 times)

bottomfeeder

  • Newbie
  • *
  • Posts: 1
C# API Example
« 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.
Logged

Bob

  • Administrator
  • Ice Artist
  • *****
  • Posts: 1607
Re: C# API Example
« Reply #1 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.
Logged
 

Page created in 0.014 seconds with 21 queries.