Wednesday, May 24, 2006

Win32 Sockets II

Just when you thought it was safe to go back in the water...

Here are a patch and file that reworks the sb-bsd-sockets win32 implementation to use sb-grovel instead of the hand-coded alien garbage I had written before. On the plus side, this means the compiler doesn't yell at us every time we touch a socket. On the down side, the sb-bsd-sockets.asd is a bit more convoluted to address the whole fd->handle wrapping that needs to be done, as well as making sure we load the winsock library before we do our groveling. There may very well be a better way to organize the win32 specific changes, so any suggestions would be welcome.