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

How to Test the Datagram Client and Server?

1124


How to test socket connection in linux?

653


How to Perform Input/Output of Datagrams?

1106


What is the use of recvfrom(2) Function?

1201


How to Bind a Specific Interface Address?

1167


How to Examin the Generic Socket Address?

1134


How to Obtaine the Socket Address?

1177


How to Write a UDP Datagram Server?

1096


What is the use of PF_INET or AF_INET?

1277


What is socket connection?

625


Can you send and receive on the same socket at the same time?

596


What is the Use of the inet_netof() Function?

1019


What is the use of inet_addr() Function?

1147


How to use the socket(2) Function?

1155


How to Generate Addresses?

1113