athttpd\current\include:http.h needs
--    socket_entry sockets[CYGNUM_FILEIO_NFILE];
++   socket_entry sockets[CYGPKG_NET_MAXSOCKETS];

and

athttpd\current\src:socket.c needs

--    for (i = 0; i < CYGNUM_FILEIO_NFILE; i++)
++   for (i = 0; i < CYGPKG_NET_MAXSOCKETS; i++)
   {
       httpstate.sockets[i].descriptor  = 0;
       httpstate.sockets[i].timestamp   = (time_t)0;
   }

because the rest of socket.c indexes sockets[] up to MAXSOCKETS.

Reply via email to