Quote:
Originally Posted by shipon_97
Friends ,
I have some confused about TCP and UDP protocol .
Suppose i have two computer which are connected using UTP Cable. Since TCP is "connection-oriented" and UDP is "Connectionless" protocol . So i think two pc is connected using only TCP protocol . Am i right ? My question is , in this
condition Can UDP protocol is used in the above two pc's ?
|
When two computers are connected using a UTP cable, they are just "physically connected". You don't determine the protocol by which they are connected. Rather, the physical medium just possesses, physical properties of transmitting signals through it.
The protocol comes at an abstraction layer of the systems. The transport layer in the TCP/IP protocol suite, is the one who handles the protocol communication deciding on which one to use, which in turn is guided by an application requiring access to a network resource or sending data to a network device.
The application would issue commands to the system as to which protocol should be used for communication and what kind of transmission is required between the systems.
UDP or TCP protocol can be used between the two systems, based on what is required to be done by an application.
For example, a FTP Server running on one and the client running on other would require a TCP connection, to ensure that all the packets of the transmission reach safely and completely.
UDP protocol are more commonly used to broadcast things, and are used in real world for Streaming applications, like Internet Radio / Playing songs online etc.
Quote:
Originally Posted by shipon_97
My another question is :
When two different Network are connected using switch or Hub (Like a Intranet)then for transmitting data from One network to another network , which protocol and which ports may can be used between these different two networks ?
Plz kindly inform me...............Thx...
|
It again depends on what kind of networks they are. There are a few protocols associated with routing the data but I don't have the exact details. Most interior networks Routing Information Protocol (RIP) and Open Shortest Path First(OSPF) are used.
I'll get details about this and you too can get from the following books:
1."Data Communication and Networking" 2nd Edition Behrouz A Forouzan
2."Computer Networks" 4th Edition Andrew S. Tanenbaum
3. "TCP/IP Protocol Suite" 2nd Edition Behrouz A Forouzan
4. "Data and Computer Communications" Sixth Edition William Stallings