Why bind system call is required in socket programming ?
what is it;s Significance ?

Answers were Sorted based on User's Feedback



Why bind system call is required in socket programming ? what is it;s Significance ?..

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

Why bind system call is required in socket programming ? what is it;s Significance ?..

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

Why bind system call is required in socket programming ? what is it;s Significance ?..

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

Post New Answer

More Linux Socket Programming Interview Questions

What is socket and how it works?

0 Answers  


How to Test with Other IP Numbers?

0 Answers  


how to get client port number in server socket programming??

0 Answers  


How to Form Local Addresses?

0 Answers  


Why bind system call is required in socket programming?

0 Answers  


How socket is created?

0 Answers  


How to use the PF_LOCAL and AF_LOCAL Macros?

0 Answers  


What is AF_UNSPEC Address?

0 Answers  


How to open socket file in linux?

0 Answers  


How to Obtaine the Socket Address?

0 Answers  


How TCP/IP Handles Sequencing?

0 Answers  


How to Compare Sockets to Pipes?

0 Answers  


Categories