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 Choose a Socket Type?
What is the use of inet_addr() Function?
What are the Advantages of TCP/IP?
How to Understand Netmask Values?
How to Test with Other IP Numbers?
What is the use of PF_INET or AF_INET?
What does socket consist of?
What is socket abstraction?
How TCP/IP Handles Sequencing?
Are sockets full duplex?
Are sockets bidirectional?
How to read socket file in linux?
How to Perform Endian Conversions?
How to Initialize a Wild Internet Address?
Are udp sockets bidirectional?