|
-
Dec 8th, 2008, 01:31 AM
#1
Thread Starter
Member
[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.
Last edited by rhijaen; Dec 8th, 2008 at 01:49 AM.
-
Dec 8th, 2008, 03:36 AM
#2
Sleep mode
Re: [2008] Forwarding packets
There's one example in codeproject and written in c#.
-
Dec 8th, 2008, 03:39 AM
#3
Addicted Member
Re: [2008] Forwarding packets
The System.Sockets namespace can be used as an alternative to Winsock in VB.NET.
-
Dec 8th, 2008, 03:51 AM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|