Member Avatar for Rahul47

Hello guys, we all have read about HTTP, TCP/IP and all kinds of protocols OSI model. My genuine question is whether a protocol is hardware or it is a software or combination of both ?

Your views are valuable.

Thanks.

Recommended Answers

All 12 Replies

whether a protocol is hardware or it is a software or combination of both

A protocol is simply the rules that computers follow to communicate with each other. I would classify it as neither hardware or software.

What JorgeM said. Protocols are the rules by which we communicate. They can be implemented in hardware/firmware, or in software. I have implemented the complete TCP/IP protocol stack in software from the protocol definitions published by the US DOD in the DDN (Defense Department Networking) Protocol Handbooks. I have also worked with implementations in hardware of the same. FWIW, the handbooks take up a good foot of shelf space... Interesting if you like reading compressed BNF (Backus-Naur Form) grammars! :-)

It is a set of rules how the hardware will behave in which conditions.The protocol can be implemented either in hardware or in software.

Member Avatar for Rahul47

@JorgeM,rubberman,crescendo: Thanks for your replies on this post.

While reading about protocol I had came across this line "It is a set of rules .......", but i couldn't figure out what actually it is ? Are they some strict rules in a book which says that this hardware should be used or this program should be used ?

I am not able to visualize what does it mean when you say "The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems".

I mean what does protocol actually contain? For example what does an HTTP protocol contains ?

Think of it this way. A human language can be considered a protocol. There are rules that make up the language. When two people follow the rules of the language, the two people are able to communicate. If two different languages are spoken by both people, communication is not possible.

The language, or protocol is established, agreed upon and known prior to and during the communication.

Member Avatar for Rahul47

@JorgeM: I see , I am aware of that example. Thanx for highlighting it.

So can I say that protocol is collection of programs and hardware specifications( what kind of hardware should be used etc etc.. . ) ?

Yes, you kind of have the idea...

programs and hardware will follow the rules outlined in the protocol standard to allow the communication to occur.

So lets say you build a new operating system. And you then want this operating system to be able to communicate on a TCP/IP network. You will need to become very familiar with the TCP/IP standard so you can build the software interface to allow the OS to communicate with other TCP/IP hosts.

Member Avatar for Rahul47

@JorgeM:Thanx a ton. That cleared my concept of Protocol.

thanx a ton.
Have A nice time.

My lecturer asked the difference between a hardware protocol and a software protocol please help i just can't the best way possible to phrase my answers

One is implemented in hardware, the other in software!

Other differences follow from that, eg one is probably faster, but the other may be easier to update or fix.

ps: Next time, please do not hijack someone else's old topic - start your own new topic with a suitable title.

James cherrill I ain hijacking its not like i haven't gone through all answers given and still can't find one!

The difference between hardware and software is that you can touch hardware.

And yes, this is a hijacked thread.

commented: Nice post +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.