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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Are sockets bidirectional?

431


What is the use of PF_INET and SOCK_STREAM?

1000


How to Manipulate IP Numbers?

980


How to Perform Input/Output of Datagrams?

948


How to Form Local Addresses?

1017






How socket is created?

467


What is the use of setprotoent(3) Function?

1147


What is socket abstraction?

488


What are the Advantages of TCP/IP?

1124


What is the use of recvfrom(2) Function?

986


How TCP/IP Handles Flow Control?

1145


How to read socket file in linux?

512


What is the use of PF_INET or AF_INET?

1106


What is socket connection?

488


How to Close Sockets?

1033