Hello,
I have a program developed in vb6 which include client app & server app.Both uses Winsock control to communicate.
Client app connects to server app by providing client name & server address.
Then the server displays a list box which shows client ip address & the name.
What I require is to port forward the client request to another server.
Example:
Client's IP is 0.0.0.0
My IP is 1.1.1.1
Program's IP is 2.2.2.2
Normal Program Connection between Client and Program is Client will connect to program normally, and program read client's IP as 0.0.0.0
With this Server, when Client (0.0.0.0) connect to My IP (1.1.1.1), My IP (Server app), will accept the connection from Client, and connect client to Program IP (2.2.2.2). So when Program read client IP, it will read as 1.1.1.1.
How do I accomplish this in vb6?Sample code will be appreciated & to get me started.Please help.