/*This is server.c*/    #include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_server, fd_client, len, len_client;       struct sockaddr_in add_server, add_client;       char buff&#91;10&#93;;       fd_server = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_server == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;   &#125;   add_server.sin_family = AF_INET;   add_server.sin_port = htons&#40;4001&#41;;   add_server.sin_addr.s_addr = inet_addr&#40;&quot;127.0.0.1&quot;&#41;;   len = sizeof&#40;add_server&#41;;   len = sizeof&#40;add_client&#41;;   if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,len&#41; != 0&#41;       perror&#40;&quot;bind&quot;&#41;;       if&#40;listen&#40;fd_server,5&#41; != 0&#41;           perror&#40;&quot;listen&quot;&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,&amp;len_client&#41;;       if&#40;fd_client == -1&#41;           perror&#40;&quot;accept&quot;&#41;;       read&#40;fd_client,buff,10&#41;;       return 0;   &#125;   /*This is the client.c*/   #include&lt;stdio.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_client,fd, len;       struct sockaddr_in add_server;       fd_client = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_client == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;   &#125;   add_server.sin_family = AF_INET;   add_server.sin_port = ntohs&#40;4001&#41;;   add_server.sin_addr.s_addr = inet_addr&#40;&quot;127.0.0.1&quot;&#41;;   len = sizeof&#40;add_server&#41;;   fd  = connect&#40;fd_client,&#40;struct sockaddr*&#41;&amp;add_server,len&#41;;   if&#40;fd == -1&#41;       perror&#40;&quot;connect&quot;&#41;;       write&#40;fd,&quot;Hello\n&quot;,6&#41;;       return 0;   &#125;
A. the server will write back to the client whatever the clinet will write to the server
B. the client server communication will not work
C. the response can not be determined
D. none of the mentioned
Answer:A
/*This is server.c*/    #include&lt;stdio.h&gt;   #include&lt;stdlib.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_server, fd_client, len, len_client;       struct sockaddr_in add_server, add_client;       char buff&#91;10&#93;;       fd_server = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_server == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;   &#125;   add_server.sin_family = AF_INET;   add_server.sin_port = htons&#40;4001&#41;;   add_server.sin_addr.s_addr = inet_addr&#40;&quot;127.0.0.1&quot;&#41;;   len = sizeof&#40;add_server&#41;;   len = sizeof&#40;add_client&#41;;   if&#40; bind&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_server,len&#41; != 0&#41;       perror&#40;&quot;bind&quot;&#41;;       if&#40;listen&#40;fd_server,5&#41; != 0&#41;           perror&#40;&quot;listen&quot;&#41;;       fd_client = accept&#40;fd_server,&#40;struct sockaddr*&#41;&amp;add_client,&amp;len_client&#41;;       if&#40;fd_client == -1&#41;           perror&#40;&quot;accept&quot;&#41;;       read&#40;fd_client,buff,10&#41;;       return 0;   &#125;   /*This is the client.c*/   #include&lt;stdio.h&gt;   #include&lt;netinet/in.h&gt;   #include&lt;sys/types.h&gt;   #include&lt;sys/socket.h&gt;&nbsp;   int main&#40;&#41;   &#123;       int fd_client,fd, len;       struct sockaddr_in add_server;       fd_client = socket&#40;AF_INET,SOCK_STREAM,0&#41;;       if &#40;fd_client == -1&#41;&#123;           perror&#40;&quot;fd_sock&quot;&#41;;           exit&#40;1&#41;;   &#125;   add_server.sin_family = AF_INET;   add_server.sin_port = ntohs&#40;4001&#41;;   add_server.sin_addr.s_addr = inet_addr&#40;&quot;127.0.0.1&quot;&#41;;   len = sizeof&#40;add_server&#41;;   fd  = connect&#40;fd_client,&#40;struct sockaddr*&#41;&amp;add_server,len&#41;;   if&#40;fd == -1&#41;       perror&#40;&quot;connect&quot;&#41;;       write&#40;fd,&quot;Hello\n&quot;,6&#41;;       return 0;   &#125;
A. the server will write back to the client whatever the clinet will write to the server B. the client server communication will not work C. the response can not be determined D. none of the mentioned
Explanation:The loopback address is used as IP address in both the programs.