thanks for info. Well, I have send only TCP connection to server. What I must do is to detect/reconnect tcp connection in less than 2 seconds without writting anything on tcp socket (otherwise alarm will trigger). Is this possible to achieve? Any working example ?
I've tried connected() and can_write, but both do not detect losing tcp connection (I take out utp cable) but all stays in same state... Methods with reading tcp socket are also useless since I'm not receiveing anything....