Linux Socket Programming Question:

Download Job Interview Questions and Answers PDF

Why bind system call is required in socket programming?

Linux Socket Programming Interview Question
Linux Socket Programming Interview Question

Answer:

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.

Download Linux Socket Programming Interview Questions And Answers PDF

Previous QuestionNext Question
What is the difference between socket & port?What is the difference between a process task and threads and what are the things that are acquired by the child process from the parent process?