Fixed name of the function.

It's actually named `ioctlsocket` on Windows.