client don't try reconnect
hi, I run ping pong example, first run server and then run client, all is ok. I kill server, and run server again, client don't try reconnect. I hope client will try reconnect if network is disconnect.
Remove reconnect=5 from the example.
Hi, I guess you're using Tcp or FramedTcp right? The way it works is how TCP works.
TCP does know about reconnections. Once the channel is closed by one side (i.e, when you kill the server), the connection is considered closed for the other endpoint. If you want a reconnection mechanism, you should implement this on top of Tcp by yourself. i.e, trying to connect again after some incremental period or similar.