Hi, my problem is similar 
to 
stackoverflow.com/questions/13046872/receiving-data-from-http-post-using-sockets

Can someone help me?

On Wednesday, October 24, 2012 9:57:33 AM UTC+3, skink wrote:
>
>
>
> Archana wrote: 
> > Actually when I print using 
> >                         InputStreamReader isr =  new 
> > InputStreamReader(socket.getInputStream(),"utf-8"); 
> > BufferedReader br = new BufferedReader(isr); 
> > int b; 
> > StringBuilder buf = new StringBuilder(); 
> > Log.d("Before while","whileeee"); 
> >  while ((b = br.read()) != -1) { 
> >     buf.append((char) b); 
> >     System.out.println("--------"+(char)b); 
> > } 
> > I see a blank line between the headers and the message. Please let me 
> know 
> > how to get contents after this? 
> > 
> > 
>
> see http://www.w3.org/Protocols/rfc2616/rfc2616.html 
>
> pskink 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to