I am beginning to examine WCF, and like what I have seen so far.
I am intrigued, however, by something I recently read about WCF services being able to work with multiple protocols (and the example used included support for TCP and HTTP). Alas, I am so new at trying to figure out proper use of WCF, I don't know where
to look for relevant information for my present query.
First, is it true? Can a WCF service handle both TCP/IP packets and http requests?
Second, I am also studying WinPcap, to learn how to examine TCP packets to see if there is a discrepancy between IP address data in those packets and the IP addresses in the HTTP headers (among other things). I want to be able to redirect HTTP traffic
through a site based on such an analysis of the TCP/IP packets used to make a given HTTP request. I don't suppose there is already a class within .NET 4 that provides access to the complete TCP/IP packet that contains a given HTTP request (that would
let me avoid having to compile the WinPcap code into a .NET app). I guess the first question for this ought to be, is WCF the right technology to use for this? Then, if WCF is appropriate for this, how would I establish the connection between multiple
OSI layers? If I can use WCF for this, can you provide URLs for resources that discuss how to do it?
View Complete Post