Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Q. what is the difference between socket & port ?

Answer Posted / srinivas antarvedi

port : a particular port number on a host
socket: a host and a port

like
-> http port = 80
-> when you fire up google.com
the socket on the server side is google.com:80 this is the server side socket

on your local system where you are browsing the socket is
yourip:port above 1024

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Understand Network Byte Order?

1319


How to Choose a Socket Type?

1242


What is socket connection?

798


How do udp sockets work?

774


What are sockets used for?

763


What are the different types of sockets?

838


What are the Advantages of TCP/IP?

1527


What is the use of inet_aton() Function?

1508


How does socket communication work?

824


How to Close Sockets?

1404


How TCP/IP Handles Sequencing?

1460


How to Specify the Domain of a Socket?

1417


How to Obtaine the Socket Address?

1389


What does socket consist of?

766


What is the use of endservent(3) Function?

1524