Google has a lot of links when entering "porting linux socket to windows".
One of the first results is an MSDN article:
Porting Socket Applications to Winsock[
^].
While Winsock has not much changed, you should consider to use a newer Visual Studio version rather the 18 year old VS6.