Hello, I'm using synchronous TCP communication via asio sockets. I have following problems: First problem; When I unplug ethernet cable, "eth0: Link is Down" is written in the console, but socket.write_some command does not detect link down failure. Second problem; During socket.connect command, if I plug ethernet cable, connect command does not detect this till "Connection timed out" error occurs. If I run socket.connect again, it detects the connection. How can I detect these plug/unplug events as soon as the event occurs? Best Regards, Gözde Koş ###################################################################### Dikkat: Bu elektronik posta mesaji kisisel ve ozeldir. Eger size gonderilmediyse lutfen gondericiyi bilgilendirip mesaji siliniz. Firmamiza gelen ve giden mesajlar virus taramasindan gecirilmekte, guvenlik nedeni ile kontrol edilerek saklanmaktadir. Mesajdaki gorusler ve bakis acisi gondericiye ait olup Aselsan A.S. resmi gorusu olmak zorunda degildir. ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. E-mails to and from the company are monitored for operational reasons and in accordance with lawful business practices. Any views or opinions presented are solely those of the author and do not necessarily represent the views of the company. ######################################################################