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 Understand Network Byte Order?
How to Choose a Socket Type?
What is socket connection?
How do udp sockets work?
What are sockets used for?
What are the different types of sockets?
What are the Advantages of TCP/IP?
What is the use of inet_aton() Function?
How does socket communication work?
How to Close Sockets?
How TCP/IP Handles Sequencing?
How to Specify the Domain of a Socket?
How to Obtaine the Socket Address?
What does socket consist of?
What is the use of endservent(3) Function?