Christian, > tcp_socket_t::write gets called though another thread already called > tcp_socket_t::close. > > Is this concurrent access expected? No, that should not happen. Martin