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

How to use the socket(2) Function?

0 Answers  


How to look up a Service by Port and Protocol?

0 Answers  


What is the use of endservent(3) Function?

0 Answers  


what is the difference between fork() & exec()

11 Answers   Subex, University Exams, Yahoo,


What is the use of PF_LOCAL and SOCK_STREAM?

0 Answers  






How to Form Traditional Local Addresses?

0 Answers  


What is the use of inet_aton() Function?

0 Answers  


What is socket and how it works?

0 Answers  


What is socket abstraction?

0 Answers  


How to Perform Endian Conversions?

0 Answers  


What is socket linux?

0 Answers  


How to Allocate IP Addresses?

0 Answers   CSC,


Categories