Finally! Raw Packets from my browser!

Two very nice references that allowed me to make a raw server(containing ip and tcp headers) in visual basic

I changed from beginrcv to just receive, but the trick seems to be making the protocol IP(even if the socket is raw)

Dim sockexample2 As Net.Sockets.Socket = New Net.Sockets.Socket(Net.Sockets.AddressFamily.InterNetwork, Net.Sockets.SocketType.Raw, Net.Sockets.ProtocolType.IP)

However, is handling all those packets(from all ports) faster than just allowing the system to do it? And what about my browser sending like 15 or so packets in a single request? Why so many?

The speed issue I’ll probably leave to tomorrow, too complicated, 🙂


Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s