there are two type of DOTA, DOTA online and offline. If online of course we know if we must connect to the internet and have the ID to connect one of the other player. But in DOTA offline we must to do something to connect with the other player, and now i will tell you anything that affects the connection:

1. if we want to connect with the other we must check the DOTA version

 first: open your DOTA, after that you can see the number at the right bottom, the number is the version of your DOTA if the number is different we can't connect with the other


2. after have the same version we can do two way to can connect with the other
    First: The simply one, you can go to the cables stores and ask the seller about the cables that can connect your laptop/computer with the other laptop/computer
but I think it was to connect 2 people no more

       Second: You can open your "network and sharing center" after that choose "manage wireless network" and then choose "add" and choose "create an adhoc network" and press "next" after you press next you must fill the "network connection" with the name that you want(that's up to you), after that you can choose the security type if you choose "open" so you don't need the password(but prepare youself if your adhoc will be enter with the people you don't know),or you can choose "WEP" or "WPA2 personal" so you can enter the password that you want. After you create your Adhoc you must setting your TCP/IP become automatically so you don't need to fill the IP



      Third: after your friend is enter the adhoc that you've created, you can open your Frozen Throne or W3l and choose LAN, created game, and choose your map that you want to play, and actually your friend can see your name in the LAN, but if there isn't you and your friend must check the windows firewall at control panel , if you choose "on" of course you can't connect with your friend, so you must choose "off"after that you can refresh your Frozen Throne or W3l, after that one of you make LAN and choose the map and after that your friend can see your name in the LAN. And you're connected  ^_^