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
What are Anonymous Calls?
How TCP/IP Handles Sequencing?
What are Reserved IP Numbers?
What is the Use of the inet_netof() Function?
How to Perform Input/Output of Datagrams?
How to Form Traditional Local Addresses?
How to Bind Addresses to a Socket?
How to Test with No Server?
What is the use of endservent(3) Function?
How to Form Abstract Local Addresses?
How to Deal with Duplicated Sockets?
How to Initialize a Wild Internet Address?
How to Perform Endian Conversions?
How to Write a UDP Datagram Client?
What is the use of inet_addr() Function?