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

Enumerating client connections on WCF server

 
 
Thread Tools Display Modes
Old 01-18-2007   #1 (permalink)
Mike Scott
Guest


 

Enumerating client connections on WCF server

Is there a way to enumerate connections to a WCF server?

I have a scenario where I'd like some code on the server to be able to get a
list of all the connected clients, e.g. to display which clients are
connected. But more than that, I'd like to be able to add custom state
information to connected client channels.

I've looked at the IExtensibleObject<T> but it's not clear from the channel
extensibility example how this should be used.

Any suggestions anyone?

Cheers,

MikeS.


Old 01-21-2007   #2 (permalink)
Arkady Frenkel
Guest


 

Re: Enumerating client connections on WCF server

Look at
http://msdn2.microsoft.com/en-us/lib...endpoints.aspx
you can enumerate endpoins with
ServiceDescription desc = serviceHost.Description;
foreach (ServiceEndpoint endpoint in desc.Endpoints)
{
// do here something
}
Arkady

"Mike Scott" <someone@microsoft.com> wrote in message
news:uc95AmxOHHA.1248@TK2MSFTNGP03.phx.gbl...
> Is there a way to enumerate connections to a WCF server?
>
> I have a scenario where I'd like some code on the server to be able to get
> a list of all the connected clients, e.g. to display which clients are
> connected. But more than that, I'd like to be able to add custom state
> information to connected client channels.
>
> I've looked at the IExtensibleObject<T> but it's not clear from the
> channel extensibility example how this should be used.
>
> Any suggestions anyone?
>
> Cheers,
>
> MikeS.
>



 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Joyfax Server - Client/server-based fax software allows you to sendand receive fax anywhere joyGfax Vista print fax & scan 0 07-14-2008 10:34 PM
Vista DNS Server Order for PPP Connections David L. Crow Vista networking & sharing 4 06-06-2008 12:51 PM
Local proxy server refusing connections, Vista 32bit mholt Network & Internet 1 01-23-2008 12:00 AM
Server Won't Accept Connections on Vista machine Bob Vista General 4 05-02-2007 02:01 AM
Network Connections, SMTP Server, Mail =?Utf-8?B?c2Vtb2xpbmE=?= Vista networking & sharing 0 08-25-2006 10:16 PM








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