What is Protocol ?
i searched on a website and it told, An agreed-upon format for transmitting data between two devices. The protocol determines the following: •the type of error checking to be used data compression method, if any •how the sending device will indicate that it has finished sending a message <<<what is meant by that ? >>>
A protocol is a set of rules defined by both parties or machines about how the data will be processed while sending/recieved. Take for example TCP, you need both machines to agree on using TCP to be able to stablish a connection. If one is attempting to use UDP to transfer information, a connection cannot be stablished, since UDP is connection-less. That's protocol for connections, however it can have different applications, but generally it means an agreement between two sides.
what is TCP ?
Transmission Control Protocol, used for connections between two machines over Internet.
THANKS
what is UDP ?
User Datagram Protocol, a connection-less protocol in which a machine sends a datagram and "doesn't care" if the other one recieves it, makes something called "best effort" to transmit it. But a connection is not stablished like TCP. useful read: http://en.wikipedia.org/wiki/User_Datagram_Protocol#Comparison_of_UDP_and_TCP
thnks eventually got it......
Join our real-time social learning platform and learn together with your friends!