My aim is to open a website in browser with IP spoofing. In other words I want to open a website with the IP of my choice. I am creating a desktop application in c# .net. I have read that I need to use 3 way handshake for this kind of implementation.
Following is the code just for sending packets which I found.
HttpRequestLayer httpLayer = new HttpRequestLayer
{
Version = HttpVersion.Version11,
Header = new HttpHeader(new HttpContentLengthField(11)),
Body = new Datagram(Encoding.ASCII.GetBytes("hello world")),
Method = new HttpRequestMethod(HttpRequestKnownMethod.Get),
Uri = @"http://mywebsite.com/",
};
I am new to this kind of network related programming. I want an example related to 3 way handshake implemented in c#. Also kindly suggest me any related examples if any.