You could try messing about with
cygwin but if a piece of C relies on something as basic as Socket.h, yer probably screwed. Then again, it might only need a few constants from socket.h, in which case you could simply create your own and copy the required constants.