C# Network Peer, Threads or Select Method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carl

    #1

    C# Network Peer, Threads or Select Method

    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
  • Vadim Chekan

    #2
    Re: C# Network Peer, Threads or Select Method

    Carl wrote:
    [color=blue]
    > 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?[/color]

    I think that the easiest way to go is Remoting.

    Vadim Chekan.

    Comment

    • Carl

      #3
      Re: C# Network Peer, Threads or Select Method

      Vadim Chekan <remove_this_vc hekan@rogers.co m> wrote in message news:<OVPtb.141 54$j1d.12085@ne ws04.bloor.is.n et.cable.rogers .com>...[color=blue]
      > Carl wrote:
      >[color=green]
      > > 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?[/color]
      >
      > I think that the easiest way to go is Remoting.
      >
      > Vadim Chekan.[/color]

      Any sample?

      Carl

      Comment

      • Vadim Chekan

        #4
        Re: C# Network Peer, Threads or Select Method

        Carl wrote:
        [color=blue]
        > Vadim Chekan <remove_this_vc hekan@rogers.co m> wrote in message news:<OVPtb.141 54$j1d.12085@ne ws04.bloor.is.n et.cable.rogers .com>...[/color]
        [color=blue][color=green]
        >>I think that the easiest way to go is Remoting.
        >>
        >>Vadim Chekan.[/color]
        >
        >
        > Any sample?[/color]

        Hmm, RTFM indead :)

        C:\Program Files\Microsoft Visual Studio .NET
        2003\SDK\v1.1\S amples\Technolo gies\Remoting

        Vadim.

        Comment

        Working...