how to capture diff packets of HTTp using socket ?
how to capture diff packets of HTTp using socket with read statement without using while loop ... ?
i mean if the response(HTTP response) is coming in multiple packet then how we come to know the server is sending multiple packets ... ?
Can get number of packets in first packet ?
# 1
You can't.
The question makes little sense, especially the part about the 'number of packets in first packet'. TCP is a streaming protocol and the boundaries between TCP segments, or IP packets, are completely hidden from view.
There is no reason why you would need to know about the server sending multiple packets.
ejpa at 2007-7-8 22:32:58 >
