[2008] Forwarding packets
Basically I want to intercept packets from a game and maybe later send them back to the server.
I found something for VB6 using winsock but if I understand correctly, winsock doesn't work in VB .NET.
Does anyone have a working code sample for this?
Thanks.
EDIT: These are udp packets btw.
Re: [2008] Forwarding packets
There's one example in codeproject and written in c#.
Re: [2008] Forwarding packets
The System.Sockets namespace can be used as an alternative to Winsock in VB.NET.
Re: [2008] Forwarding packets
If these datagrams are coming from a game server and into an already bound UDP socket on your computer, its not going to be completely easy. If however, the're is no other UDP socket bound to the port where these datagrams are sent, you can simply create one yourself using the System.Net.Sockets.Socket or the System.Net.Sockets.UdpClient class.