How to host your own http-like server using ServiceHost?

Posted by Ole Jak on Stack Overflow See other posts from Stack Overflow or by Ole Jak
Published on 2010-04-03T19:57:44Z Indexed on 2010/04/03 22:13 UTC
Read the original article Hit count: 216

Filed under:
|
|

I use ServiceHost for hosting WCF cervices.

I want to host near to my WCF services my own tcp programm (like WCF service but with out WCF) for direct sockets operations (like lien to some sort of broadcasting TCP stream)

I want to use ServiceHost for somehow simplyfiing proces of creating my TCP sender\listener, to somehow control namespaces (so I would be able to let my clients to send TCP streams directly into my service using some nice URLs like www.example.com:34123/myserver/stream?id=1 or www.example.com:34123/myserver/stream?id=222 and so that I will not be bothered with Idea of 1 client for 1 socket at one time moment, BTW I realy want to keep my WCF services on the same port as my own server or what it is...)

Can any body please hrlp me with this?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wcf