At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
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
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.
Not the answer you are looking for? Search for more explanations.
Transmission Control Protocol, used for connections between two machines over Internet.
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