get hang up with readline() when reading HTTP request
0 posts in topic
Flat View  Flat View

Posted By:   an_phan
Posted On:   Monday, September 17, 2001 08:46 PM

I tried to build a simple server that uses socket to read HTTP request; but I got hang up with readline(), any body can help ..

I heard that we need to implement the readLine()to prevent hang up, if so, anyone can show me how to do this.

thanks a lot

BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));

String data;
About | Sitemap | Contact