c++ - setsockopt TCP_NODELAY question on Windows Mobile -


I have a problem with Windows Mobile 6.0. I would like to create a TCP connection which does not use the nagging algorithm, so it sends my data when I call the "send" function, and buffer does not call, there is very little data in it.

I tried the following:

BOOL b = TRUE; Setconp (Socket FD, IPPRTOODCD, TCP _NODEL, (four *) (and B), Sizef (BOL));

It works fine on the desktop but on Windows Mobile, if I set this value, then I do a query for it, the return value is 8. And network traffic analysis shows that nothing is changing.

Flush me in my socket?

It seems that the TCP_NODELAY option is not supported for the Windows Mobile version. Check the MSDN documentation, There may be some effect in this, but I remember some time ago that there are some socket options including TCP_NODEEL and struggle to send and receive buffers and the SatoCOP call will fail. Check that the setockopt returns false returns, if not: get WSAGetLastError () and see if it takes you anywhere. In my case, I have to do without these options because they were not supported. I was working on windows mobile 5


Comments