On Tue, Aug 20, 2002 at 11:06:38AM +0530, V_Suresh wrote: > I want to know how two identical packets are differentiated and > given to the appropriate applications - to be more clear, suppose two > browsers are opened in the same machine, and both issue the same 'GET' > HTTP command to the same website. Then, the network packets will be > having the same source and destination address, and the same port > number(80, here). Now, when these two packets are sent, and the > resultant packets arrive to our machine, which again would be > identical, how is it that the kernel differentiates between the > packets and sends the correct one to the appropriate browser??
There are five identifiers in a packet - source IP, source port, destination IP, destination port and the protocol. In the case you mention, source port numbers differ, and hence the kernel can differentiate between the packets. TCP/IP Illustrated (Stevens) Vol I should be part of your library. Binand -- If you found this helpful, please take some time off to rate it: http://svcs.affero.net/rm.php?r=binand ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
