William A. Rowe, Jr. wrote: > > At 07:07 PM 10/14/2003, [EMAIL PROTECTED] wrote: > >jim 2003/10/14 17:07:15 > > > > Modified: . STATUS > > Log: > > Also note that I plan to remove the various places with > > http_main.c where we have > > > > #ifdef BEOS > > closesocket(s); > > #else > > close(s); > > #endif > > > > which is bogus.... unless somehow this is required for > > the WIN32/Netware :/ > > Yes - bogus but correct. Win32 can't use close() on a socket 'fd' because > it's not an fd at all, it's a socket handle. >
But I don't see how the above accompishes that... since BEOS isn't defined, doesn't WIN32 then use the 'close(s)' statement? Check out make_sock(). Note that for systems that aren't Win32 or Netware, we define closesocket as close (in ap_config.h). -- =========================================================================== Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "A society that will trade a little liberty for a little order will lose both and deserve neither" - T.Jefferson
