If you're trying to write portable software, just use the SFU software pack from Microsoft, since it does come equiped with the BSD socket library. It runs a UNIX subsystem natively and you wouldn't really have to learn how to use Linux, just learn some software(of which you're most-likely somehwat familiar with i.e. gcc, gdb...)
http://www.microsoft.com/windows/sfu/