I need to write a java program that is waiting till a socket client
connects to it, after a certain time, about 15sec the client will
disconnect or the java app will disconnect the client. Right after
that a new connection to the same port should be available that a
client could connect to it. However a client is connected it will
receive data from the java app.
My question is how can I initiate a socket server which is allways on
and wayting for a connection, as soon as the connection brakes up a
new session will be initiated.
Thanks in advance
Niko
Modern Analytics
connects to it, after a certain time, about 15sec the client will
disconnect or the java app will disconnect the client. Right after
that a new connection to the same port should be available that a
client could connect to it. However a client is connected it will
receive data from the java app.
My question is how can I initiate a socket server which is allways on
and wayting for a connection, as soon as the connection brakes up a
new session will be initiated.
Thanks in advance
Niko
Modern Analytics
Comment