[Top][All Lists]

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

LYNX-DEV Re: _WINDOWS patch for doing NSL_FORK

From: afn06760
Subject: LYNX-DEV Re: _WINDOWS patch for doing NSL_FORK
Date: Fri, 13 Mar 1998 03:44:38 GMT

>     * From: address@hidden
>     * Date: Wed, 11 Mar 1998 18:37:57 GMT
>Code added to WWW/Library/Implementation/HTTCP.c.
>This actually seems to work.  (Sorry, not in patch
>#ifdef _WINDOWS
>void _fork_fun (void *phost)
>  long r_val;
>  r_val = (long)gethostbyname(*(((char ***)phost)[1]));
>  if (r_val == (long)NULL) r_val = -1L;
>  *((void ***)phost)[0] = (void *)r_val;

Of course, you could also try WSAAsyncGetHostByName, but
that would _really_ change the generally Unix nature of the

reply via email to

[Prev in Thread] Current Thread [Next in Thread]