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

What is the Use of the inet_netof() Function?

1266


What is the use of PF_INET or AF_INET?

1576


How to Write a UDP Datagram Server?

1314


What does socket consist of?

816


How TCP/IP Handles Lost Packets?

1628


What is socket file in linux?

947


how to get client port number in server socket programming??

2374


How to Compare Sockets to Pipes?

1366


Are sockets full duplex?

809


How TCP/IP Handles Flow Control?

1590


What is the use of endservent(3) Function?

1588


What is the Use of the inet_ntoa() Function?

1271


What is the use of PF_INET and SOCK_STREAM?

1325


What is the use of SOCK_DGRAM Socket Type?

1400


How to Form Internet (IPv4) Socket Addresses?

1493