Once the client has successfully connected to the server, the server and the client needs to know that the connection has gone through.
I would like to know how to notify or let the app know that a client has connected to the server and would like to move on. The method that I am thinking of is a blocking function that yields if there is no connection, and returns once the connection has gone through.
If this blocking call is not the best way, then what is the recommended way of doing this? Providing a lead for research (not necessarily a link) would be very helpful in learning this process.
Thanks in advance.