Hi to all,
I managed to establish http connection using socket, sending requests and receiving responses successfully. I do so for achieving doing multiple things on one connection, hopefully.
But the problem occurring here is that only first request gets correct response data. The next request I send (exactly same as the first request) results nothing happens.
The byte sent as request is in stringbuffer sb as below
sb.append("GET /cgi HTTP/1.1\r\n");
It must be something I've done wrong, for I didn't do much socket stuff before.
I'll be very grateful if someone could give me some advice.
Thanks in advance