What are users ? - WeOnlyDo Discussion board

What are users ? (wodVPN)

by Silverio, Friday, February 05, 2010, 13:01 (5196 days ago)

Hi,
sorry for dummy question but I isn't able to understand what mean VPNUsers/VPNUser.

I connect two peers and after that I add a channel to 127.0.0.1:1080 so computer A put data listen from this port to remote computer B which has a server (VNC) which listen in port 1080.

Ok, all work fine and my happy of results.

Reading documentation I've saw that each channel can have one or more users but I don't hunderstand what mean and what is the functionality of users.

Can someone describe me ?

Thank you very much

Re: What are users ?

by wodDamir, Friday, February 05, 2010, 13:58 (5196 days ago) @ Silverio

Silverio,

A User is every connection made to the channel. You can have multiple users connected, i.e. your other machines on LAN can access the same channel. Each time someone connects to the channel a new User object is spawned.

Hope this explains it.

Regards,
Damba

Re: What are users ?

by Silverio, Friday, February 05, 2010, 14:15 (5196 days ago) @ wodDamir

Silverio,

A User is every connection made to the channel. You can have multiple users connected, i.e. your other machines on LAN can access the same channel. Each time someone connects to the channel a new User object is spawned.

Hope this explains it.

Regards,
Damba

Uhm... is hard to me to understand but I can write an example on what I've understood:

At this moment I've connected CA and S peers.
I can create a peer CB which connect to S so we have CA/CB connects to S. At this point CA/CB and S can view 3 users in used channel ?

What could be a valid design/necessity of this scheme ?

Thank you in advance for reply..

Re: What are users ?

by wodDamir, Friday, February 05, 2010, 14:22 (5196 days ago) @ Silverio

Silverio,

I.e:

You have Peer A who has webserver listening on port 80. Then you connect it to Peer B who has channel listening on port 8080, forwarded to Peer A.

Now open two instances of your browser (on Peer B), and point them to 127.0.0.1:8080 , and you would have two users connected to that channel. Each connection made to a listening channel adds a new User object to collection. If you now open another IE and navigate to 127.0.0.1:8080 you would create another User object.

Hope this explains it.

Regards,
Damba

Re: What are users ?

by Silverio, Friday, February 05, 2010, 14:33 (5196 days ago) @ wodDamir

Silverio,

I.e:

You have Peer A who has webserver listening on port 80. Then you connect it to Peer B who has channel listening on port 8080, forwarded to Peer A.

Now open two instances of your browser (on Peer B), and point them to 127.0.0.1:8080 , and you would have two users connected to that channel. Each connection made to a listening channel adds a new User object to collection. If you now open another IE and navigate to 127.0.0.1:8080 you would create another User object.

Hope this explains it.

Regards,
Damba

Well, now I've understood
Thank you very much again !!!