Why bind system call is required in socket programming ?
what is it;s Significance ?
Answers were Sorted based on User's Feedback
Answer / karthik
bind system call assigns a name to the unnamed socket.
Binding an address allows a process to register its address
with the system. This makes it possible for other process to
find it.
Is This Answer Correct ? | 25 Yes | 3 No |
Answer / krishnaveni
To bind IP address and port number with socket,and by using this port number only we can perform our applications through which the required task can be done.
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / gaurav tripathi
bind system call assigns a name to the unnamed socket.
Binding an address allows a process to register its address
with the system. This makes it possible for other process to
find it.
Is This Answer Correct ? | 3 Yes | 2 No |
What are sockets used for?
Are sockets bidirectional?
How to Specify an X.25 Address?
Can you send and receive on the same socket at the same time?
How to Test with Other IP Numbers?
How to Initialize a Wild Internet Address?
What is the use getservent(3)?
Q. what is the difference between socket & port ?
How to Obtaine the Socket Address?
How to Test the Datagram Client and Server?
What is socket connection?
What are the best linux system programming interview questions you've ever asked or been asked?