fix build error on Windows

Error using Windows DevKit 8.1
`src\win\tcp.c(250): error C2275: 'SOCKET' : illegal use of this type as an expression`