Question Multi threading with multiple TCP sockets

hednast

New member
Joined
Sep 13, 2010
Messages
2
Programming Experience
5-10
Hi,

I have a program connected to 56 terminals connected via TCP. I created a program where there is a main and a from eg. frmMC which is called to open 56 times. these frmMC has a tcp socket that connects to 1 terminal. The communication of these 56 sockets causes the CPU usage to be very high causing the PC to hang. I need to collect real time data from these terminals and time taken to request and get back information is very critical. Any advice on how i can fully utilize the multi threading with multiple sockets without causing high CPU usage and also causing the PC to Hang.

Thank you very much.
 
Back
Top