In Windows, how do I connect two computers to the Internet when there is only one Ethernet socket on the wall?
I don't have any extra hardware such as a router, switch, or hub.
(Assuming Windows 7)
Did it once, but it was the contrary, was sharing through Ethernet using wireless connection to Internet. Worked great.
This is called ICS (Internet Connection Sharing) under Windows, you can check the help files for it too.
Some Microsoft references: