Wrox Programmer Forums
|
BOOK: Professional WCF 4: Windows Communication Foundation with .NET 4
This is the forum to discuss the Wrox book Professional WCF 4: Windows Communication Foundation with .NET 4 by Pablo Cibraro, Kurt Claeys, Fabio Cozzolino, Johann Grabner; ISBN: 978-0-470-56314-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WCF 4: Windows Communication Foundation with .NET 4 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2010, 01:38 AM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WCF Duplex fast

Hi all.
I'm trying to do a service for a card game (bridge) on internet but I've some problems.
The requisite is to allow some users to register at a table and receive messages from the server relative to that table. I mean that when a player is registered on a table, he receive messages form the server regarding what happens on that table. For example:
I'm registered on table 8 and I play a card. The server receive the message "Card played" and send that message to the other 3 players registered on table 8.

I've tryied to do this in the following way:
when the server receive the registering message, saves the Callback channel of the player and when the server receive a "Play card" message, send a message to all the callback channels of the table where the player is seated.
But I receive an error: Channel is in state faulted.

Maybe I do not have to use the callback channel.

The only requisite is to be very fast and for this reason I've opted for using the TCP protocol.

Somebody have an Idea on how create this service? Or just a link to an example.

Thanks a lot and regards
Andrea





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Duplex messaging iamdony BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 2 November 22nd, 2009 11:38 PM
Duplex Messaging iamdony Windows Communication Foundation 0 October 28th, 2009 09:33 PM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
Chapter 6: DUPLEX example thsun BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 5 January 11th, 2008 12:36 PM
Can not get duplex to work poliver Crystal Reports 0 August 19th, 2005 03:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.