Hello, everybody
I am working on a simple client-server program. The server side is a console program which will send (1)the list of files in home directory and (2)the contents of the selected file to the client side. And the client side is a GUI program which sends requests to receive the list of files in the servers home directory and after it received the list of files it shows that list to the user and the user has an opportunity to view thr content of the selected file. The problem is that after sending the list of files because of the garbage collection the connection between the server and client is closed and there is no possibility for the client to request the contents of the selected file from the server. How to owercome this problem? Please, give some hints???
otherdummy 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.