I have done verification of client and source programs. Files are in upload here. Captured packets while testing. server_client.pcap file ---> where client closed connection after some data exchange. client_server.pcap file ----> where server closed connection after some data exchange.