@yifan-gu For reconnection, probably you should also change the receiver to use tcpaddr rather than a addr in struct.