[comp.sys.sgi] sgi problem

abmg@cathedral.cerc.wvu.wvnet.edu (Aliasghar Babadi) (04/12/91)

  I have some problem with the following system calls on sgi
  gethostbyname() and bind()

  if I give the address in string format (name) I get error 
  gethostbyname: connection refused
  bind: : Invalid argument , The socket is already bound to an address.

  I found a way out for gethostbyname by linking with -lsun -lbsd to read 
from yellowpages.
  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.