Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Howto make 2 connection to datasocketserver

Hey, how can I open 2 connection (at same time) to a datasoket server. I need this because I want to read, calculate and write to a datasocket server (VC++2003.net). The time before I opened only one connecting and closes this after read. then I openend a write connection.... But this takes a lot of time and CPU usage.

Part II:

The complete code is stored in an MFC DLL. The calulation is done outside the dll. So how can I store the connection in the meantime.
0 Kudos
Message 1 of 2
(2,937 Views)
Part I: Yes you can do it if you use the same item. You have to use Datasocket open, write 2 for modus.(it means read/write) an other way would be to use different items to read and write.
0 Kudos
Message 2 of 2
(2,937 Views)