Interesting....
Did you connect two hosts directly with a special cable without any chip?
From USB protocol, all the command and configure is dominated by a host, device is acceptor. how to deal with these?
We can connect two USB Hosts with a mini-AB cable provided both of them are OTG Capable. So, when one is acting as Host, the other will settle as a device and vice versa. Otherwise (if they are not OTG capable ie,purse hosts) two hosts cannot be connected. Always host talks with device only.
In USB2.0 or before there is no provision for Host to Host connections, so as such the protocol does not support that.
But USB OTG device and functions are allowed to dual in as Hosts. For this it should be connected to something that also supports OTG. To decide which one of these will act as host, Host negotiation protocol is followed.