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 socket connection in linux?

485


How to open socket file in linux?

510


What is the use of endprotoent(3) Function

1344


What is the use of PF_INET and SOCK_DGRAM?

1077


How to Test with Other IP Numbers?

1082






How to Bind a Specific Interface Address?

996


How to Close Sockets?

1039


How to Form Abstract Local Addresses?

1000


Are sockets bidirectional?

441


HOW TCP/IP Handles Duplicated Packets?

1246


How to Understand Network Byte Order?

1042


How to Specify an X.25 Address?

1010


What is the use of inet_aton() Function?

1076


What are Anonymous Calls?

1004


What is the use of recvfrom(2) Function?

990