Using Same Channel for multiple Clients - WeOnlyDo Discussion board

Using Same Channel for multiple Clients (wodVPN)

by Abhishek, Saturday, April 05, 2008, 10:30 (6074 days ago)

HI

We are developing an client server application where we would like server to be connected to multiple client at a time.

what we are planning to do is to start a channel initiated by the server between server and first client, and then add other client on the same channel, in many to one fashion.

I would like to know that is it possible to add to an existing channel or every client has to make a unique channel with the server.

Re: Using Same Channel for multiple Clients

by wodSupport, Saturday, April 05, 2008, 10:53 (6074 days ago) @ Abhishek

Abhishek,

one channel can tunnel any number of connections from one side to another. It is not restricted to only one. Multiple clients can connect to same listening port and the same time, and they will all be redirected to the destination.

Typical example is SocksProxy on 1080. You can use it to browse websites throught he tunnel, and typicall websites contain many images - all of them are requested from the client in the same time.

Hope this helps.
Kreso

Re: Using Same Channel for multiple Clients

by Abhishek, Saturday, April 05, 2008, 12:04 (6074 days ago) @ wodSupport

HI

Thanks for quick Reversal,

Let me explain our application in little details. We are developing a streaming application using WODVpn. An application can be a client connected to many servers and also on the other hand simultaneously it can act as server at the same time.

Now to cut the long story short, for instance server using WodVpn has acquired a port and a connection is made after first client comes in through mediator.

now what we want is that every client shall not create a channel on connection as it will increase the number of port aquired.

So considering a fact that 2 client are comming from 2 different machine, can they join the channel between initiated by the server.

Kindly help

Abhishek,

one channel can tunnel any number of connections from one side to another. It is not restricted to only one. Multiple clients can connect to same listening port and the same time, and they will all be redirected to the destination.

Typical example is SocksProxy on 1080. You can use it to browse websites throught he tunnel, and typicall websites contain many images - all of them are requested from the client in the same time.

Hope this helps.
Kreso

Re: Using Same Channel for multiple Clients

by wodSupport, Saturday, April 05, 2008, 14:13 (6074 days ago) @ Abhishek

Abhishek,

yes, wodVPN will behave like that. Once you open the channel, anyone can transfer through that channel, so wodVPN can act as 'hub' for the server.

Regards,
Kreso