Experimentation with Win32 Registered I/O for UDP communication
All projects are tested and worked on Windows 11 (Version 10.0.22000.2057) with Visual studio 2022 (17.4.2).
Socket i/o | RIO with Events | Brief description |
---|---|---|
recv | recv_rio | Receive packets on UDP port 0x4321 from any IPv4 host |
send | send_rio | Send packets UDP packets to loalhost:0x4321 |
Code | Value | Description |
---|---|---|
WSAEINVAL | 10022 | An invalid argument was supplied. |
WSAENOBUFS | 10055 | No buffer space available. |
There is a powerful windows on-board method available to look up windows error messages from numbers:
net helpmsg <number>
.
Usage
C:\> net helpmsg 10022
An invalid argument was supplied.