sgi problem

Aliasghar Babadi abmg at cathedral.cerc.wvu.wvnet.edu
Fri Apr 12 03:38:40 AEST 1991


  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.



More information about the Comp.sys.sgi mailing list