[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gethostbyname() in ksocket?



  Is there a particular reason that gethostbyname() and related functions
  aren't included in the kernel version of the socket lib?  I mean, obviously
  it's peppered with fprintf()'s and the like, but surely those could be
  "#ifndef KERNEL"'ed out.  I've stumbled across this in my efforts to finally
  rewrite GlueSTiK as a device driver, which will obviously need ksocket but
  also has to implement STiK's resolve() function.

I doubt there's any major reason. Just that there was never any particular
need for it before.