asio::error_code io_control(base_implementation_type& impl,
     IO_Control_Command& command, asio::error_code& ec)
 {
   socket_ops::ioctl(impl.socket_, impl.state_, command.name(),
       static_cast<ioctl_arg_type*>(command.data()), ec);
   return ec;
 }