Forum:Servers w/ ethermet

I was wondering, is it possible for me and my friend to play on a server via ethernet, by this I meen; My friend hosts a server, adnw e plug in an ethernet cable to our computers, directly, no modem, and play? If so how, please and thank you.