Vls freezes under RH7.1 at initialization

Jean-Paul Saman jpsaman at wxs.nl
Sun Jun 3 19:51:03 CEST 2001


I ran into trouble with VLS under RH 7.1 and tracked down one problem to
this function. When the debugger hits getprotobyname the application
freezes due to a shared library problem. Does anybody now how to solve
it?


int C_Vls::CheckEnvir()
{
  int iRc = 0;
  
#ifdef LINUX
  if(!getprotobyname("tcp"))
  {
    printf("Unknown protocol: TCP\n");
    iRc = GEN_ERR;
  }

  else if(!getprotobyname("udp"))
  {
    printf("Unknown protocol: UDP\n");
    iRc = GEN_ERR;
  }
#elif defined WIN32
  // TO DO

#endif

  return iRc;
}

 Greetings, 
Jean-Paul Saman
jpsaman at wxs.nl

-- Binary/unsupported file stripped by Listar --
-- Type: text/x-vcard
-- File: jpsaman.vcf
-- Desc: Card for Jean-Paul Saman





More information about the vls-devel mailing list