Hello ,

I want to develop client / server socket programming using java. I developed a server socket on port 1500 and client socket that communicates on server port 1500.

Now i want to send the same data came from client to other socket on the same server but that data looks like came from client i.e IP address and port of the client instead of server.


client ---- > Server --
......................|.......| request from server to server itself but it should looks like request came from client.
......................|.......|
........................-----


Can you please help me?

Thanks in advance.