S
Sona
Hi,
I want to create different threads that will run from the same program
and will listen for incoming TCP Connections. Doing this with a single
thread works fine.. but when I try to launch another thread, it says
java.net.BindException: Address already in use: JVM_Bind.
I even tried making the second thread listen on a different port but
this is not working. How can I make this work? Thanks
Sona
I want to create different threads that will run from the same program
and will listen for incoming TCP Connections. Doing this with a single
thread works fine.. but when I try to launch another thread, it says
java.net.BindException: Address already in use: JVM_Bind.
I even tried making the second thread listen on a different port but
this is not working. How can I make this work? Thanks
Sona