Sorry, but I was too much "trigger happy" with this issue. Unfortunately it is 
not github and I can't see an option to delete this issue.


---

** [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:** Tue Dec 28, 2021 04:11 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.


Reply via email to