On linux we can use the MSG_WAITALL flag because linux doesn't care and just sends it disregarding our flag.
On windows this gives a WSAEOPNOTSUPP error and doesn't send. This basically tells us the flag isn't supported for send, look at the possible values for the flag parameter. It's still not supported on linux, it just doesn't error out.
On linux we can use the MSG_WAITALL flag because linux doesn't care and just sends it disregarding our flag.
On windows this gives a WSAEOPNOTSUPP error and doesn't send. This basically tells us the flag isn't supported for send, look at the possible values for the flag parameter. It's still not supported on linux, it just doesn't error out.