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

What is the Use of the inet_ntoa() Function?

938


What is socket and how it works?

477


Why bind system call is required in socket programming?

450


How to Specify an X.25 Address?

1001


How to Form Internet (IPv4) Socket Addresses?

998






How to Examin the Generic Socket Address?

994


How to Test with No Server?

1099


What is the use of PF_INET and SOCK_DGRAM?

1071


How TCP/IP Handles Flow Control?

1145


Are udp sockets bidirectional?

484


How TCP/IP Handles Lost Packets?

1246


How to look up a Service by Port and Protocol?

1119


How to Choose a Socket Type?

939


What is the use of recvfrom(2) Function?

986


Can a socket have multiple connections?

472