Q. what is the difference between socket & port ?
Answer Posted / guest
Port : Port no is the s/w address on a computer on the n/w.
for instance smtp : 25 and pop : 109 and so on....
Socket : Socket is the communication path to a port.
Basically Socket = ip + port, so Socket provides the access
to the ip+port
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How to Understand Network Byte Order?
How to Initialize a Wild Internet Address?
HOW TCP/IP Handles Duplicated Packets?
What is the use of recvfrom(2) Function?
How to Define a Socket?
How to Form Local Addresses?
How to Examin the /etc/services File?
How to Form Traditional Local Addresses?
What is socket and how it works?
How to Manipulate IP Numbers?
What is the use of PF_INET and SOCK_STREAM?
What is the Use of the inet_makeaddr() Function?
Are sockets bidirectional?
What is AF_UNSPEC Address?
How to Choose a Socket Type?