It’s very simple but if the server doesn’t send any char to this client the
process stays blocked on the read function forever.
I think that the TIMEOUT doesn’t work correctly, but I hope I wrong !!!
The function setsockopt doesn’t return any error code (it seems to work
correctly).
I’ve been testing the same code with LINUX and it works correctly (the read
function exit correctly and nByte = 0… as I expected). The same code works
correctly with QNX4.
It’s very simple but if the server doesn’t send any char to this client the
process stays blocked on the read function forever.
I think that the TIMEOUT doesn’t work correctly, but I hope I wrong !!!
The function setsockopt doesn’t return any error code (it seems to work
correctly).
I’ve been testing the same code with LINUX and it works correctly (the read
function exit correctly and nByte = 0… as I expected). The same code works
correctly with QNX4.
It’s very simple but if the server doesn’t send any char to this client
the
process stays blocked on the read function forever.
I think that the TIMEOUT doesn’t work correctly, but I hope I wrong !!!
The function setsockopt doesn’t return any error code (it seems to work
correctly).
I’ve been testing the same code with LINUX and it works correctly (the
read
function exit correctly and nByte = 0… as I expected). The same code
works
correctly with QNX4.