[lug] source for bind(int sockfd, struct sockaddr *my_addr, int addrlen)

Matt McIllece (1-3762) mcillece at elbonia.ast.lmco.com
Tue Apr 17 18:17:35 MDT 2001


hmmm - that would explain why I wasn't able to find bind() where I was looking.  
But I don't understand how the man page is going to help me find the source code 
to bind().  In fact, I had already done a "man -S 2 bind" and didn't get 
anywhere.  Did I miss something?


>Date: Tue, 17 Apr 2001 10:15:29 -0700 (MST)
>From: bdoctor at ps-ax.com
>
>try "man 2 bind", which will fetch the proper man page for you.
>
>You downloaded BIND -- Berkeley Internet Name Domain, which is a DNS server.
>
>-brad
>
>> Can someone tell me where the source is for the function that binds a name to 
a 
>> socket?
>> 
>> I downloaded bind-9.2.0s20010214.tar.gz and looked all through 
>> bind-9.2.0s20010214.  The best I could do was find a function that calls 
bind() 
>> itself (bind-9.2.0s20010214/contrib/idn/mdnkit/dnsproxy/server.c).
>> 
>> I also looked under /usr/src/linux, but didn't find bind() implemented there 
>> either.
>> 
>> TIA,
>> Matt




More information about the LUG mailing list