Multiple sessions

Topics: Developer Forum, Project Management Forum, User Forum
Nov 5, 2015 at 12:06 PM
how to create multiple sessions on a single application for the same mainframe?

Example:
Open3270.TNEmulator a = new TNEmulator();
Open3270.TNEmulator b = new TNEmulator();

a.Config.FastScreenMode = true;
a.Config.HostName = "10.0.0.1";
a.Config.HostPort = 23;
a.Config.TermType = "IBM-3278-2-E";
a.Config.UseSSL = true;
a.Connect();

b.Config.FastScreenMode = true;
b.Config.HostName = "10.0.0.1";
b.Config.HostPort = 23;
b.Config.TermType = "IBM-3278-2-E";
b.Config.UseSSL = true;
b.Connect();

Help-me!
Nov 5, 2015 at 12:40 PM
Whats wrong with this example?
Dec 22, 2015 at 3:44 PM
I have 2 systems in ip 10.0.0.1, i connected in first, but in second i get the error

Error: "Typically Only one use of each socket address (protocol / network address / port )"

Is possible create 2 session with your dll?