If you are lucky, you can hook up via the online match mode in the game, but it will be super laggy.
Usually people use Hamachi to play against each other. Damned if i know how it works.
Oh, and make sure that your games are exactly alike... if one of you builds a bot using components that the other person does not have in their game... it will crash.
Hope this helps.