Connecting to Internet

Blitz3D Forums/Blitz3D Beginners Area/Connecting to Internet

Terry B.(Posted 2007) [#1]
How would you make a connection of two non-lan computers through b3d?


Terry B.(Posted 2007) [#2]
Anyone know?


b32(Posted 2007) [#3]
I think you need their ip adresses. You can look them up on certain sites (whatsmyip.com?)
Then, you could take a look at the StartNetGame command and related commands. There should be some code for it somewhere on this site. In google, type "StartNetGame site:blitzbasic.com" to find them.


Terry B.(Posted 2007) [#4]
thanks! So do I just select tcp\ip then type in the IP adress of the out of network computer I want to connect to?


b32(Posted 2007) [#5]
Yes, and when the connection is established, you could use SendNetMsg to send data across.


Terry B.(Posted 2007) [#6]
Thanks!