Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

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

 
 
Thread Tools Display Modes
Old 12-08-2006   #1 (permalink)
AlexC
Guest


 

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
Old 12-09-2006   #2 (permalink)
Arkady Frenkel
Guest


 

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



Old 12-09-2006   #3 (permalink)
Arkady Frenkel
Guest


 

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

>
>



Old 12-09-2006   #4 (permalink)
AlexC
Guest


 

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

>


Old 12-09-2006   #5 (permalink)
Arkady Frenkel
Guest


 

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

>>

>



 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firewall warning in domain environment Nick Vista security 1 07-29-2008 04:20 AM
Did Microsoft Make a two way firewall with Vista Home Premium? JJ Vista security 17 10-18-2007 12:46 PM
Windows found one or more legacy failure-tolerant (FT) disk sets on this computer Guy Rouillier Vista General 7 11-28-2006 06:10 AM
Vista: does BitLocker make a drive less tolerant of bad blocks? tavis Vista security 3 07-10-2006 01:20 PM
windows Collaboration Suresh Vista networking & sharing 0 07-04-2006 08:04 AM








Vistax64.com 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 2005-2008

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 47 48 49 50