how to emualte a hard lined ethernet connection between two computers using xbee

So a while back, I saw a forum post somewhere where a guy used Xbees to emulate a hard lined ethernet conneciton between two pcs. When he went into the networking settings you could see that the computer thought it was connected to the other computer using a ethernet wire. Anyone know how to do this? I'm working on a project that could greatly benefit with a connection like this. Thanks in advance.