A splitter won't work. You need to set up ICS (Internet Connection Sharing) click here and get yourself a crossover network cable. If you have a software firewall you would have to configure that too. It can be fiddly.
Bear in mind that you could get a cheap wireless router for not much more than the cost of the cable click here