Hi,

I am new here.

I am not a professional programmer so please forgive me if I ask something obvious.

I am trying to create a program to log data from several devices connected via tcp/ip.

I want to start each connection in its own thread but I don't know at design time how many devices will be connected.
I decided to use a list of "backgroundworkers" objects. The problem I have now is how to pass the ipaddress and port to open to each thread and the name of the file to store the data.

I have searched the internet looking for a similar problem with several backgroundworkers but all examples use only one backgroundworker.

Regards,
JM