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, 🙂