Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

tcp

Hi

I create the following algoritm

 

--First i open tcp connectin 

--then i read holdin register using "Ethernet READ Holding register" 

--after that i fill the values into a database.

--and finnaly i close the TCP connection.

These algoritm is repeating every 5 minutes.

the problem is that i want to make the request to several IP address in the same time.

Is it possible to open a few TCP connectin in the same time.

 

thanks in advace

0 Kudos
Message 1 of 2
(3,280 Views)

Hi Plehar4e

 

I think you may have posted in the wrong section of the website by mistake. This part of the forums is just for version conversion.

With TCP, you can only have one process listening on a port but, once it accepts the connection you get a whole different socket descriptor to carry on the session, so you can go back and listen on the original socket descriptor for another connection. 

 

Kind Regards

.

Chris | Applications Engineer NIUK
0 Kudos
Message 2 of 2
(3,268 Views)