Link to home
Start Free TrialLog in
Avatar of Rohit Bajaj
Rohit BajajFlag for India

asked on

what is tcp and http

Hi
I want to know what exactly is tcp and http.
As per my understanding we can make a tcp socket between two machines and send data from one machine to other using it.

Http can also be used to communicate with other machine and get response back.

Whats the difference between http and tcp.
If i want to host a service which fetches user some infirmation using http get request, can i do the same thing using tcp ?

When to use tcp and when to use http ?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>When to use tcp and when to use http ?
You use tcp whenever you send data over a network (LAN, WAN, it does not matter).
You use http whenever you want to serve/receive a web page.

HTH,
Dan
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rohit Bajaj

ASKER

didnt got time to look at the posts. will look at it today or tomorow and close it if no further questions
thanks everyone