IP and Port addresses
According to my Internetworking book, TCP/IP supports three addresses, physical, internet and port addresses. And, according to the book port addresses is used to distinguish which process gets the data.
My question is, if I open a telnet session with 1.1.1.1 and another to 1.1.1.2, how does the computer know whick session gets the data (They would have the same port address, since it uses the same application ?). Or does telnet have different port for each process ?
Thanks for any reply!
.:BoeManE:.
My question is, if I open a telnet session with 1.1.1.1 and another to 1.1.1.2, how does the computer know whick session gets the data (They would have the same port address, since it uses the same application ?). Or does telnet have different port for each process ?
Thanks for any reply!
.:BoeManE:.
Comments
Im more interested in how the client machine handles this, than how the server does (which has a thread for each logged in user, i guess).
Thanks,
.:BoeManE:.
<strong>
Im more interested in how the client machine handles this, than how the server does (which has a thread for each logged in user, i guess).
</strong><hr></blockquote>
while both clients connect TO the SAME port, they connect FROM two DIFFERENT ports.