USB operates in a Master-Slave configuration. Traditionally Masters had the "flat rectangular" socket, Slaves had the "square" socket and the connecting leads had one of each type of plug. So you could connect a Master (eg a PC) to a Slave (eg a printer) but never a Master to a Master nor a Slave to a Slave. The introduction of mini and micro USB connectors muddied that a bit and some USB ports can be switched to either Master or Slave but the Master-Slave configuration must still be observed.
A USB hub 'expands' its single Slave port to multiple Master ports which can be connected to other Slave devices. A USB hub can only have one Slave port.
The USB ports on RPis are Masters. So you cannot connect RPis together directly via their USB ports. You cannot connect more than one RPi to a USB hub - because hubs have only one Slave port. You cannot connect a Slave port on a USB hub to a Slave port on another USB hub. Thus, there is no way even with USB hubs that you can connect two RPis for data transfer from one to the other. (There do exist devices which will connect a Master to a Master - eg
http://www.amazon.co.uk/StarTech-com-Da ... B003V4TVAW - but these are not mere cables.)
You can connect a second RPi to a Slave port on a USB hub if the only purpose is to power the RPi from it. But the data wires must be disconnected somewhere.