Why do you want a "Network Hub"?
A "Hub" is a very basic device for connecting several computers together, but it is "unintelligent" and sends data to all computers in the network. The computers then have to sort out what data is intended for them.
A more "intelligent" device is a "Network Switch" which also connects several computers in a network, but it delivers data only to the correct IP address within the network.
If all you want to do is to connect two computers together, this can be done with a *CROSSOVER* ethernet cable between their RJ45 ethernet ports. Data transfer speed will be 100Mbps, unless both computers have Gigabit (1000Mbps) network adapters installed.