We have a bespoke application built using asio that uses both TCP and UDP. We have deployed our application to AWS and are using a network load balancer. The network LB is performing health checks using TCP however our health checks are failing.
What code do I have to write to ensure that the health check does not fail. I know in the case of HTTP I would just respond with a 200 however I'm not sure what to do in the case of TCP.