This content has been marked as final. Show 5 replies
You write a TCP server in Java. See the Custom Networking section of the Java Tutorial.
My problém is not in the tcp server, but i want to maker a forwarding server, cause i want to do some thing like "load balancing" , and i dont know how to do it in java.
How to make a forwarding server in JAVA ????
Same way you write any other server really. Accept a connection ...
thx for your answer,
i have the server that accepte connections , and what i want is when the server accept a connection, it forward it to another server :
my server will be a kind of switche
hope its clear now :)
So you connect to the other server and do the forwarding.
I don't understand what it is that you don't understand.