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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of PF_INET and SOCK_DGRAM?

1071


How TCP/IP Handles Flow Control?

1143


How to Specify the Domain of a Socket?

1045


What is the use of PF_LOCAL and SOCK_STREAM?

1200


How to open socket file in linux?

498






How to Form Local Addresses?

1013


What is the use of recvfrom(2) Function?

986


What is the use of inet_addr() Function?

984


How TCP/IP Handles Sequencing?

1155


What is Internet Address Classes?

976


Are sockets bidirectional?

430


What is the use of endprotoent(3) Function

1340


How to Define a Socket?

1000


HOW TCP/IP Handles Duplicated Packets?

1234


What is socket file in linux?

499