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
How to Perform Endian Conversions?
How to Write a UDP Datagram Server?
How to Choose a Socket Type?
How to Obtaine the Socket Address?
How to Form Abstract Local Addresses?
What are Anonymous Calls?
What is socket file in linux?
How to Manipulate IP Numbers?
how to get client port number in server socket programming??
How to Examin the /etc/services File?
How to Define a Socket?
Are sockets full duplex?
What is the use of inet_network()?
What are sockets used for?
How to look up a Service by Port and Protocol?