Forum Discussion

JVD66's avatar
JVD66
Copper Contributor
Mar 09, 2021

winsock2 's recvfrom and recv both return extended error 10045 for bound UDP socket - why?

I have some C code using winsock2 :      int fd = socket ( AF_INET, SOCK_DGRAM, IPPROTO_UDP );      struct sockaddr_in sin = { ... };      if (fd == -1)        _ERR_( ... )      ...      if (...

Resources