abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi) (04/11/91)
Hi: I have some problem with the following system calls on sgi gethostbyname() and bind() if I give the address in string format I get error gethostbyname: connection refused bind: : Invalid argument , The socket is already bound to an address. I found the problem for gethostbyname by linking with -lsun -lbsd to read from yellowpages instead of /etc/hosts. but couldn't find a solution for bind.If I give the dot notation address there is no problem, but when I give the string address (name ) I get the bind error. Thanks for your help.