HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: kobi.beja on February 23, 2015, 07:41:57 AM

Title: It is possible to make 2 TCP connection on one code?
Post by: kobi.beja on February 23, 2015, 07:41:57 AM
Hi all,
I wonder if there any way to make 2  TCP connection on one C# code?
The concept is:
I have trigger via TCP and this run the script, TCP socket number 1 for any lighting control sys, Tcp socket number 2 is Infrared sys.
Or maybe I can run another program from the main program with the TCP connection?
PID 1012 run PID1011 and PID 1013?

Thanks
Kobi
 
Title: Re: It is possible to make 2 TCP connection on one code?
Post by: Gene on February 25, 2015, 01:57:29 AM
No it is not. You have to use two programs for achieving that.

g.
Title: Re: It is possible to make 2 TCP connection on one code?
Post by: kobi.beja on March 02, 2015, 04:24:47 PM
Hi Gene,
So what I need to do to run another program from my main program that manage the tcp ip?

BR
Kobi