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 is the Use of the inet_netof() Function?
What is the use of PF_INET or AF_INET?
How to Write a UDP Datagram Server?
What does socket consist of?
How TCP/IP Handles Lost Packets?
What is socket file in linux?
how to get client port number in server socket programming??
How to Compare Sockets to Pipes?
Are sockets full duplex?
How TCP/IP Handles Flow Control?
What is the use of endservent(3) Function?
What is the Use of the inet_ntoa() Function?
What is the use of PF_INET and SOCK_STREAM?
What is the use of SOCK_DGRAM Socket Type?
How to Form Internet (IPv4) Socket Addresses?