> I am in the intial stage of architecting and building an application in
> which each client running the application will occasionally send a set of
[quoted text clipped - 9 lines]
> directly between one another? Can .NET web services be utilized for this
> kind of peer-to-peer communication?
Nice application. It's a sort of KDX :)
> As I understand it, there is a potential problem with the use of web
> services for peer-to-peer communication: Each client would have to have a
[quoted text clipped - 3 lines]
> via http to help overcome firewall challenges) without utilizing IIS on the
> clients?
Why do the clients need an IIS server if they use a WinForm ? The
WinForm only consums the WebService which is on the server, no ?
> Finally, if anyone can recommend a good article on peer-to-peer
> communication between clients (without the use of IIS on the clients) I
> would appreciate that. I prefer samples in C#.
If you find samples, can you post them here ?
Thanks.
--
Delf
Bruce - 21 Mar 2005 19:22 GMT
The clients indeed consume a web service from the server. But in addition,
they need to be able to pass objects between one another. At any point in
time after authentication from the server, I hope to have the clients pass
objects between one another independent of the server. This later step is
where I need help.
Any recommendations?
-- Bruce
>> I am in the intial stage of architecting and building an application in
>> which each client running the application will occasionally send a set of
[quoted text clipped - 32 lines]
> --
> Delf
Hello Bruce,
For Peer-to-peer communication, I would like recommend TCP, MSMQ or
remoting in .NET instead of web service. Web service is based on
request&response. One client will send a request(message) to the server,
but another client won't recieve it until it also send a request to the
server.
Here is a sample about TCP:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemnetsocketstcplistenerclasstopic.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemnetsocketstcpclientclasstopic.asp
Here is a sample about remoting:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q307739
Hope this help,
Luke