Written in c language for two side, a server to a client, I hope that after the server is connected, 5 seconds when the client did not send data, the server will take the initiative to disconnect the link, could you tell me how to carry out,
Note: the server for parallel service, use the trip,