Muliplayer

hello,
i have a question. how would i go about making a multiplayer game. I mean how do i connect two players together? Is there a tutorial someone can direct me to or something? Thank you.