bhermer
asked on
Is it possible to port forward with VB.NET sockets?
Is it possible to capture data from one port and foward to another?
so if an application sends a packet on port 2113 I want to intercpt (or copy) it and send it on to port 80
Example code would be nice
so if an application sends a packet on port 2113 I want to intercpt (or copy) it and send it on to port 80
Example code would be nice
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I had given up hope on this, I will giove your code a work out and get back to you.
Ben
Ben
ASKER
Sorry for delay, and thanks, that worked out great.
Thanks for the points
Did you find your way to send data to port 80?
Did you find your way to send data to port 80?
I've extended this topic here....I'm having the same problem and in need of a solution....
https://www.experts-exchange.com/questions/23832205/PORT-FORWARDING-doing-the-same-thing-what-router-does-through-software.html?anchorAnswerId=22766342#a22766342
https://www.experts-exchange.com/questions/23832205/PORT-FORWARDING-doing-the-same-thing-what-router-does-through-software.html?anchorAnswerId=22766342#a22766342
I'd love to see your code if you're still around/still have it AkisC?
'// Create a Form1 windows form
Option Strict On
Option Explicit On
Imports System.Net.Sockets
Imports System.Threading
'// and Declare
Private listener As TcpListener
Private listenerThread As Threading.Thread
Dim PORT_NUM as integer=2113