Actually I’m struggling on a TCP listener function. (=server)
I’m opening a listener socket, waiting for a connection.
Connecting, receiving, transmitting, everything works well. But on connection close the whole listening port is closed, too.
If another client is doing a new connect, there will be no listening socket
My “workaround” is to reinitialize a listener socket after each successful client [connecting - data exchange - closing] sequence.
Is there a way to leave the listener untouched, listening all the time?
Cause reopening the listening port takes some time, and therefore requiring a schedule/retry mechanism on the “client” side.
tia,
Heinz