Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - Use WCF to make firewall-tolerant 'collaboration' environment?

 
 
Old 12-08-2006   #1 (permalink)
AlexC


 
 

Use WCF to make firewall-tolerant 'collaboration' environment?

I'm looking at creating a kind of collaboration /
teaching environment using WCF. I want to be able
to have the teacher do events that get pushed to
all the student machines (like pointing at some
part of a diagram).

To avoid problems with the client's firewalls and
NATs it seems like the best thing would be a
single "permanent" TCP connection on port 80 from
the clients (students) to the server (teacher).

Is it possible to set this up with WCF so that the
one physical TCP connection over port 80 can transmit
multiple "streams" of data simultaneously? For
example, it would be nice to have a lower priority file
transfer flowing in either direction, while at the same
time having little event packets at a high priority
flowing in both directions too.

How much of this can be done with WCF?

Thanks,
Alex

My System SpecsSystem Spec
Old 12-09-2006   #2 (permalink)
Arkady Frenkel


 
 

Re: Use WCF to make firewall-tolerant 'collaboration' environment?

No, you need UDP for multicast/broadcast. That not have default support in
WCF but you have SDK example of such.
Arkady

<AlexC> wrote in message news:egtjn2hsvjemtbicmsh12tcj29mrt79pe5@4ax.com...
> I'm looking at creating a kind of collaboration /
> teaching environment using WCF. I want to be able
> to have the teacher do events that get pushed to
> all the student machines (like pointing at some
> part of a diagram).
>
> To avoid problems with the client's firewalls and
> NATs it seems like the best thing would be a
> single "permanent" TCP connection on port 80 from
> the clients (students) to the server (teacher).
>
> Is it possible to set this up with WCF so that the
> one physical TCP connection over port 80 can transmit
> multiple "streams" of data simultaneously? For
> example, it would be nice to have a lower priority file
> transfer flowing in either direction, while at the same
> time having little event packets at a high priority
> flowing in both directions too.
>
> How much of this can be done with WCF?
>
> Thanks,
> Alex



My System SpecsSystem Spec
Old 12-09-2006   #3 (permalink)
Arkady Frenkel


 
 

Re: Use WCF to make firewall-tolerant 'collaboration' environment?

Forgot to put the link :
http://msdn2.microsoft.com/en-us/library/ms751494.aspx
Arkady

"Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message
news:ua%23Ta73GHHA.1276@TK2MSFTNGP04.phx.gbl...
> No, you need UDP for multicast/broadcast. That not have default support in
> WCF but you have SDK example of such.
> Arkady
>
> <AlexC> wrote in message
> news:egtjn2hsvjemtbicmsh12tcj29mrt79pe5@4ax.com...
>> I'm looking at creating a kind of collaboration /
>> teaching environment using WCF. I want to be able
>> to have the teacher do events that get pushed to
>> all the student machines (like pointing at some
>> part of a diagram).
>>
>> To avoid problems with the client's firewalls and
>> NATs it seems like the best thing would be a
>> single "permanent" TCP connection on port 80 from
>> the clients (students) to the server (teacher).
>>
>> Is it possible to set this up with WCF so that the
>> one physical TCP connection over port 80 can transmit
>> multiple "streams" of data simultaneously? For
>> example, it would be nice to have a lower priority file
>> transfer flowing in either direction, while at the same
>> time having little event packets at a high priority
>> flowing in both directions too.
>>
>> How much of this can be done with WCF?
>>
>> Thanks,
>> Alex

>
>



My System SpecsSystem Spec
Old 12-09-2006   #4 (permalink)
AlexC


 
 

Re: Use WCF to make firewall-tolerant 'collaboration' environment?

Hi Arkady,

Thanks for your comments and the pointer to the UDP
transport sample.

But if I have to create a custom WCF transport, does that
mean the design I described would be "fighting" the normal
WCF way of doing things? In other words, is there some
other design (maybe several simultaneous TCP connections
between each client and server, one for file transfers, one
for commands, ...) that is a more normal way to accomplish
the same thing in the WCF world?

Thanks,
Alex

On Sat, 9 Dec 2006 12:45:11 +0200, "Arkady Frenkel"
<arkadyf@hotmailxdotx.com> wrote:

>No, you need UDP for multicast/broadcast. That not have default support in
>WCF but you have SDK example of such.
>Arkady
>
><AlexC> wrote in message news:egtjn2hsvjemtbicmsh12tcj29mrt79pe5@4ax.com...
>> I'm looking at creating a kind of collaboration /
>> teaching environment using WCF. I want to be able
>> to have the teacher do events that get pushed to
>> all the student machines (like pointing at some
>> part of a diagram).
>>
>> To avoid problems with the client's firewalls and
>> NATs it seems like the best thing would be a
>> single "permanent" TCP connection on port 80 from
>> the clients (students) to the server (teacher).
>>
>> Is it possible to set this up with WCF so that the
>> one physical TCP connection over port 80 can transmit
>> multiple "streams" of data simultaneously? For
>> example, it would be nice to have a lower priority file
>> transfer flowing in either direction, while at the same
>> time having little event packets at a high priority
>> flowing in both directions too.
>>
>> How much of this can be done with WCF?
>>
>> Thanks,
>> Alex

>


My System SpecsSystem Spec
Old 12-09-2006   #5 (permalink)
Arkady Frenkel


 
 

Re: Use WCF to make firewall-tolerant 'collaboration' environment?

What do you mean "fighting", that just a way standard WCF not use , because
UDP is not reliable protocol ( packets could be dropped on the way and
sender know nothing about it ). So you need to add some reliability checking
to that ( BTW additionally WCF provide that for TCP too ). Sure you can send
that in TCP to all clients attached to service.
Arkady

<AlexC> wrote in message news:15mln254v3gtqc14rpla201duv51usnvd1@4ax.com...
> Hi Arkady,
>
> Thanks for your comments and the pointer to the UDP
> transport sample.
>
> But if I have to create a custom WCF transport, does that
> mean the design I described would be "fighting" the normal
> WCF way of doing things? In other words, is there some
> other design (maybe several simultaneous TCP connections
> between each client and server, one for file transfers, one
> for commands, ...) that is a more normal way to accomplish
> the same thing in the WCF world?
>
> Thanks,
> Alex
>
> On Sat, 9 Dec 2006 12:45:11 +0200, "Arkady Frenkel"
> <arkadyf@hotmailxdotx.com> wrote:
>
>>No, you need UDP for multicast/broadcast. That not have default support in
>>WCF but you have SDK example of such.
>>Arkady
>>
>><AlexC> wrote in message
>>news:egtjn2hsvjemtbicmsh12tcj29mrt79pe5@4ax.com...
>>> I'm looking at creating a kind of collaboration /
>>> teaching environment using WCF. I want to be able
>>> to have the teacher do events that get pushed to
>>> all the student machines (like pointing at some
>>> part of a diagram).
>>>
>>> To avoid problems with the client's firewalls and
>>> NATs it seems like the best thing would be a
>>> single "permanent" TCP connection on port 80 from
>>> the clients (students) to the server (teacher).
>>>
>>> Is it possible to set this up with WCF so that the
>>> one physical TCP connection over port 80 can transmit
>>> multiple "streams" of data simultaneously? For
>>> example, it would be nice to have a lower priority file
>>> transfer flowing in either direction, while at the same
>>> time having little event packets at a high priority
>>> flowing in both directions too.
>>>
>>> How much of this can be done with WCF?
>>>
>>> Thanks,
>>> Alex

>>

>



My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Firewall warning in domain environment Vista security
Did Microsoft Make a two way firewall with Vista Home Premium? Vista security
Windows found one or more legacy failure-tolerant (FT) disk sets on this computer Vista General
Vista: does BitLocker make a drive less tolerant of bad blocks? Vista security
windows Collaboration Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46