You can close/delete this ticket. No one probably except me can see this problem as I am using stlink backend from openocd as my library. In openocd winsock initialisation is present in *serverhostosentry()*;
--- ** [tickets:#329] ST-Link TCP server backend code windows** **Status:** new **Milestone:** 0.11.0 **Created:** Mon Dec 27, 2021 06:35 PM UTC by Pawel **Last Updated:** Mon Dec 27, 2021 06:35 PM UTC **Owner:** Antonio Borneo Winsock is missing initialization. ~~~ #ifdef _WIN32 // Initialize Winsock WSADATA wsaData; int iResult = WSAStartup(MAKEWORD(2, 2), &wsaData); if (iResult != 0) { LOG_ERROR("Error initializing socket (WSAStartup failed: %d)", iResult); return ERROR_FAIL; } #endif ~~~ Regards, Pawel --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.