Hi,
I'm having this same problem.
I'm using MQX 4.0.0.
I see your issue was posted in Oct 2010, is there already a fix (workaround) for this? We are already Juli 2013 ??
I want a timeout of 10 sec on the connection function. (result = connect(sock, &addr, sizeof(addr));)
| uint_32 | sock; |
| uint_32 | result; |
| uint_32 | opt_length = sizeof(uint_32); |
| uint_32 | opt_value; |
opt_value = 10000;
result = setsockopt(sock, SOL_TCP, OPT_CONNECT_TIMEOUT, &opt_value, opt_length);
This results in a timeout after 1 min and 40 seconds
Any idea's ?