Burak, > is there a way i can detect whether a socket_t is connected to an uri? > getsockopt does not seem to have such a value, and there is certainly no > socket_t::is_connected() method. > No. There's no way to find out. Martin