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 Specify the Domain of a Socket?

1474


How to Perform Input/Output of Datagrams?

1443


What is the use of recvfrom(2) Function?

1524


How to test socket connection in linux?

980


How to Bind a Specific Interface Address?

1592


How to Form Traditional Local Addresses?

1384


What are Anonymous Calls?

1354


How to Write a UDP Datagram Server?

1314


Can you send and receive on the same socket at the same time?

822


Are sockets full duplex?

814


How to Choose a Socket Type?

1300


What is socket file in linux?

956


What is the Use of the inet_makeaddr() Function?

1339


How to look up a Service by Port and Protocol?

1524


What is the use of inet_network()?

1453