Hi.
in .NET driver is problem with command timeout. Value greater than ~4294 is not handled properly. (setting 4295 timeout is effective same as setting it to 2 sec, 4296 -> 3 sec.. )
![](https://dw1.s81c.com//IMWUC/MessageImages/4536234276354e5bbe360965f5fa7f27.png)
when using show external code in Visual Studio is clear what is going on,
![](https://dw1.s81c.com//IMWUC/MessageImages/dd03ac0e311246e8b1088fa301b7d667.png)
![](https://dw1.s81c.com//IMWUC/MessageImages/708f4ca2315d4dbaa87cfc3116e5113b.png)
Socket.Poll Method (System.Net.Sockets) | Microsoft Learn
Parameters
- microSeconds
- Int32
The time to wait for a response, in microseconds.
Poll method accepts integer.. For some reason negative values also works but still 2* MAX_INT ~= 4293 (sec) is very limited. Of course solution is Very easy. Wait should be done by chunks of with chunk less than max int value
------------------------------
Krzysztof Duśko
------------------------------