Socket Array

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How could I create a socket array? Such as if tSocket was a socket then,

tSocket(1);
tSocket(2);
 
Here is the answer to my own question,

Socket[] tSocket= new Socket[10];

Same as a normal array.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top