|
![]() |
feras almasri wrote:
first Call to connect with the main server and second call too change the port for the second server port
It's working with me now. but is it the good way to change the connection between two servers for the same session
feras almasri wrote:Could you show me an example please?
feras almasri wrote:my problem is not with the other server my problem in the client to change the connection to the next server
feras almasri wrote:This is what I already did I'm call the configuration function to change the port for the next server. My question is it correct to do that?
if two clients connected to the server can I give an information from the first client to the second client?
java java.net.socketexception connection reset
feras almasri wrote:while I'm in a two different thread how can I send an information between two clients
feras almasri wrote:I can't I think I'm in a two different threads.
Or maybe not I can't decide.
Anyway if I'm in a one thread how can send form the second condition the variable of the first object of the first condition.
feras almasri wrote:thanks, I'm doing that and I used a static variable between the two threads.
feras almasri wrote:
I have another question now. how can I ask the other client to wait until the server send to it a message I use this but it seems not working
Alas, poor Yorick, he knew this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|