You don't have to do anything on the server side to disconnect the client. You are just getting a notification that the client is disconnecting so you can update your server program that the client is gone. The function DisconnectTCPClient is designed for use in the CLIENT application to disconnect from the server.
Best Regards,
Chris Matthews
National Instruments