You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an invalid argument and the main difference between the two calls is the address buffer.
I can't see anything obvious in your code but in mine I use sizeof(SOCKADDR_INET) as the variable you call ADDR_BUFFER_SIZE. This is 28 bytes for me. Seems like your 64 bytes shouldn't be a problem but it might be worth a try?
One more guess - in my code I allocate buffers for RIORegisterBuffer using VirtualAlloc with NULL as the first parameter:
PVOID buf = VirtualAlloc(NULL, bufferBytes, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
This means that the buffers returned are page aligned. I don't remember having a problem but it is unlikely that I would have gone to the trouble without needing to...
Hello,Can you help me to solve my question? https://stackoverflow.com/questions/53776414/riosendex-get-error-10022-but-connect-riosend-works-well
RIOSendEx get error 10022 but connect + RIOSend works well
The text was updated successfully, but these errors were encountered: