tags:

views:

66

answers:

2

Will any one please clear this.

Thanks

+2  A: 

Those are two different protocols.
This is HTTP.
This is TCP.

Lirik
Your HTTP link should point here: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
Frank Shearar
@Frank thanks for pointing that out... must have copied and pasted the wrong page :).
Lirik
To add, HTTP is built upon TCP.
KMan
+4  A: 

net.tcp: TCP based protocol. Basically it is TCP, the higher layers are "propietary".

http: HTTP based protocol - which defines a LOT more than TCP.

At the end, HTTP is web service compatible, while TCP is efficient.

TomTom
Thanks Tom..If I am right TCP is use to create Windows services and HTTP for Web Services right??
BreakHead
+1 It should be noted that HTTP runs on top of TCP which would explain the efficiency with one less layer.
kenny
$Qutbuddin There is no reason why a 'Web Service' couldn't be run over TCP, but what is typically done mostly to get around/throw firewalls is to run them over HTTP.
kenny
Well, it has nothing to do with web or windows service. Window sservice is a way to start a program - it can easily expose web services (which is an API framework). It is more a question whether your exposed API whould be accessible as web service (which is an open standard), or used WCF internally only (both sides on WCF), in which case you can go with something more efficient.
TomTom