Si hai ragione ma ora non me lo fa più modificare!!! La prossima volta ne terro conto...
L'errore lo ritorna la funzione connect....
WSAEALREADY
(10037)
Operation already in progress.
An operation was attempted on a non-blocking socket that already had an operation in progress - i.e. calling connect a second time on a non-blocking socket that is already connecting, or canceling an asynchronous request (WSAAsyncGetXbyY) that has already been canceled or completed.