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 Test the Datagram Client and Server?
HOW TCP/IP Handles Duplicated Packets?
Are sockets bidirectional?
What is the setservent(3) Function?
What does socket consist of?
How to Bind a Specific Interface Address?
What is the use of SOCK_DGRAM Socket Type?
Are udp sockets bidirectional?
What is the use of PF_INET and SOCK_DGRAM?
How to Examin the /etc/services File?
How to Perform Input/Output of Datagrams?
how to get client port number in server socket programming??
How to use the PF_LOCAL and AF_LOCAL Macros?
How TCP/IP Handles Sequencing?
How to Test with No Server?