I am developing a WCF service that will need to manually manage client connections, as each client session will be associated with connections to other resources. I have a few issues I am struggling with, and would appreciate any help:
1) I have noticed that if more than 10 clients connect at once to my service and none of them call close(), the 11th client is denied. I am aware that I can increase the number of concurrent client connections, but this does not solve the denial of service vulnerability. As I am managing client connections myself, I need to have a way to manually close the client session/connection from within the host. Is there a call to do this?
2) I need to determine the client's IP address... any suggestions? I am using wsHttpBinding, so I'm assuming its available somewhere.
3) I also need to know how the
System.ServiceModel.OperationContext.Current.SessionID is generated (see my other post [http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1813548&SiteID=1&mode=1])
Thanks in advance to anyone who can shed some light on these issues for me.