winsock send function in non blocking mode give error 10022

ashutosh singh 1 Reputation point
2020-09-11T13:00:46.2+00:00

I am trying to create non blocking socket for ssl communication but send function giving me error:10022.so how to fix it?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
1,895 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 28,656 Reputation points
    2020-09-11T15:00:19.853+00:00

    Something is wrong with your code (that we have not seen).
    From system-error-codes--9000-11999-
    WSAEINVAL
    10022 (0x2726)
    An invalid argument was supplied.