We are trying to implement HTTP Tunneling in the applets.We created an URL connection that is accepted by the socket in the server class. We have to hold the URL connection and the respective socket at the server side for each client. Data written from the server to the client is reaching the client but data from the client is not reaching the server.We are using datainputstream and printstream classes at the client/server classes. When we tried to use any other input streams or readers in the server side the input stream is not getting created in the client side and the applet is hanging. Can anyone sugguest a solution for the above situation...
"Annapurna B", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements. Thanks.
Hi I think the problem is not closing the socket or io stream when data is transferred. Hence the socket is virtually locked for transfer from one side. More over when you use multiple clients it is not necessary to create multiple sockets for each client( unless you are specific about it). You may make use of multithreading. Consider each client as a thread and work thereon. regards Prashanth
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.