C# Network Peer, Threads or Select Method

  • Thread starter Thread starter Carl
  • Start date Start date
C

Carl

I need an advice.

I am trying to create a multipeer system where one peer could accept
multiple connections from others and should be able to make multiple
connections to others.

What should I use?
- Only Threads.
- Array Lits of sockets controlling it with Select() Method.

Does anyone have a multipeer-to-multipeer code sample?

Thanks in advanced
 
Carl said:
I am trying to create a multipeer system where one peer could accept
multiple connections from others and should be able to make multiple
connections to others.

What should I use?
- Only Threads.
- Array Lits of sockets controlling it with Select() Method.

Does anyone have a multipeer-to-multipeer code sample?

I think that the easiest way to go is Remoting.

Vadim Chekan.
 
Carl said:
Any sample?

Hmm, RTFM indead :)

C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Samples\Technologies\Remoting

Vadim.
 

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

Similar Threads


Back
Top